mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
color editor: Make the sample non-focusable again
This is one of the situations, where can-focus can still be used to tweak focus behavior of leaf widgets. Color swatches are focusable by default to allow selecting colors with the keyboard. But when used as color samples, they should not take focus.
This commit is contained in:
parent
99eed078bd
commit
2ae08e632c
@ -57,6 +57,7 @@
|
||||
<property name="rgba">rgb(255,255,255)</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="has-menu">False</property>
|
||||
<property name="can-focus">False</property>
|
||||
<layout>
|
||||
<property name="left-attach">1</property>
|
||||
<property name="top-attach">0</property>
|
||||
|
Loading…
Reference in New Issue
Block a user