diff options
author | Corentin Noël <corentin@elementary.io> | 2019-09-13 13:32:10 +0000 |
---|---|---|
committer | Alberto Fanjul <albertofanjul@gmail.com> | 2019-09-13 13:32:10 +0000 |
commit | 89acf1b6cad5a438e785dfe03f5437cd4a7136e7 (patch) | |
tree | dfb735cbb12aa98e73cddc64be39fab0b4dd338b /plugins | |
parent | 3b00bc876818cc6eeb7d2d20b544dbc5e46eb309 (diff) | |
download | glade-89acf1b6cad5a438e785dfe03f5437cd4a7136e7.tar.gz |
gtk+: Add homogeneous property to GtkStackSwitcher
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtk+/glade-stack-switcher-editor.ui | 29 | ||||
-rw-r--r-- | plugins/gtk+/gtk+.xml | 2 |
2 files changed, 30 insertions, 1 deletions
diff --git a/plugins/gtk+/glade-stack-switcher-editor.ui b/plugins/gtk+/glade-stack-switcher-editor.ui index 274119c2..bdd889f1 100644 --- a/plugins/gtk+/glade-stack-switcher-editor.ui +++ b/plugins/gtk+/glade-stack-switcher-editor.ui @@ -144,6 +144,33 @@ Author: Matthias Clasen <mclasen@redhat.com> <property name="width">4</property> </packing> </child> + <child> + <object class="GladePropertyLabel" id="homogeneous_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_left">12</property> + <property name="hexpand">False</property> + <property name="property_name">homogeneous</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">5</property> + <property name="width">2</property> + </packing> + </child> + <child> + <object class="GladePropertyShell" id="homogeneous_editor"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="property_name">homogeneous</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">5</property> + <property name="width">4</property> + </packing> + </child> </object> <packing> <property name="expand">False</property> @@ -159,6 +186,8 @@ Author: Matthias Clasen <mclasen@redhat.com> <editor id="orientation_editor"/> <editor id="icon_size_label"/> <editor id="icon_size_editor"/> + <editor id="homogeneous_label"/> + <editor id="homogeneous_editor"/> </child-editors> </template> </interface> diff --git a/plugins/gtk+/gtk+.xml b/plugins/gtk+/gtk+.xml index 4b3f2ad0..b4760273 100644 --- a/plugins/gtk+/gtk+.xml +++ b/plugins/gtk+/gtk+.xml @@ -2655,9 +2655,9 @@ <property id="orientation" default="GTK_ORIENTATION_HORIZONTAL" custom-layout="True"/> <property id="stack" custom-layout="True"/> <property id="icon-size" custom-layout="True" since="3.20"/> + <property id="homogeneous" custom-layout="True"/> <!-- Disable GtkBox stuff --> <property id="size" disabled="True" default="0"/> - <property id="homogeneous" disabled="True"/> <property id="spacing" disabled="True"/> <property id="baseline-position" disabled="True"/> </properties> |