diff options
author | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2020-06-15 20:00:43 -0300 |
---|---|---|
committer | Juan Pablo Ugarte <juanpablougarte@gmail.com> | 2020-06-15 20:00:43 -0300 |
commit | b577494385c3e8cdcefbe95d7f300d1050a65503 (patch) | |
tree | b7008f1f01d52d75829b4d8dc45bc82ee9c30498 /plugins | |
parent | 4e073c34b5895ee98e9e8ec282575cd29e36d7a4 (diff) | |
download | glade-b577494385c3e8cdcefbe95d7f300d1050a65503.tar.gz |
GladeScrolledWindowEditor: improve layout
Squeeze width/height properties in two columns
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gtk+/glade-scrolled-window-editor.ui | 349 |
1 files changed, 187 insertions, 162 deletions
diff --git a/plugins/gtk+/glade-scrolled-window-editor.ui b/plugins/gtk+/glade-scrolled-window-editor.ui index 41af2a52..8eec4ca7 100644 --- a/plugins/gtk+/glade-scrolled-window-editor.ui +++ b/plugins/gtk+/glade-scrolled-window-editor.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.22.0 +<!-- Generated with glade 3.37.0 libgladegtk - Glade UI Designer Gtk+ support plugin Copyright (C) 2013 Tristan Van Berkom <tvb@gnome.org> @@ -22,7 +22,7 @@ Author: Tristan Van Berkom <tvb@gnome.org> --> <interface domain="glade"> - <requires lib="gtk+" version="3.10"/> + <requires lib="gtk+" version="3.24"/> <requires lib="gladeui" version="0.0"/> <template class="GladeScrolledWindowEditor" parent="GladeEditorSkeleton"> <property name="visible">True</property> @@ -66,7 +66,7 @@ Author: Tristan Van Berkom <tvb@gnome.org> <object class="GladePropertyLabel" id="shadow_type_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> + <property name="margin_start">12</property> <property name="hexpand">False</property> <property name="property_name">shadow-type</property> </object> @@ -93,7 +93,7 @@ Author: Tristan Van Berkom <tvb@gnome.org> <object class="GladePropertyShell" id="window_placement_set_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> + <property name="margin_start">12</property> <property name="hexpand">False</property> <property name="property_name">window-placement-set</property> <property name="editor_type">GladeEpropCheck</property> @@ -121,7 +121,7 @@ Author: Tristan Van Berkom <tvb@gnome.org> <object class="GladePropertyShell" id="kinetic_scrolling_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> + <property name="margin_start">12</property> <property name="hexpand">False</property> <property name="property_name">kinetic-scrolling</property> <property name="editor_type">GladeEpropCheck</property> @@ -136,309 +136,334 @@ Author: Tristan Van Berkom <tvb@gnome.org> <object class="GladePropertyLabel" id="content_width_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> + <property name="margin_start">12</property> <property name="hexpand">False</property> <property name="property_name">min-content-width</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="content_width_editor"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="property_name">min-content-width</property> - </object> - <packing> - <property name="left_attach">2</property> - <property name="top_attach">5</property> - <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="content_height_label"> + <object class="GtkLabel" id="htitle"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> + <property name="halign">start</property> + <property name="valign">center</property> + <property name="margin_start">12</property> <property name="hexpand">False</property> - <property name="property_name">min-content-height</property> + <property name="label" translatable="yes">Horizontal</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">6</property> + <property name="top_attach">8</property> <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyShell" id="content_height_editor"> + <object class="GtkLabel" id="vtitle"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="valign">center</property> <property name="hexpand">False</property> - <property name="property_name">min-content-height</property> + <property name="label" translatable="yes">Vertical</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> </object> <packing> <property name="left_attach">2</property> - <property name="top_attach">6</property> + <property name="top_attach">8</property> <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="max_content_width_label"> + <object class="GladePropertyLabel" id="hpolicy_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">max-content-width</property> + <property name="margin_start">24</property> + <property name="property_name">hscrollbar-policy</property> + <property name="custom_text" translatable="yes">Scrollbar Policy:</property> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">7</property> - <property name="width">2</property> - </packing> - </child> - <child> - <object class="GladePropertyShell" id="max_content_width_editor"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="property_name">max-content-width</property> - </object> - <packing> - <property name="left_attach">2</property> - <property name="top_attach">7</property> - <property name="width">2</property> + <property name="top_attach">9</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="max_content_height_label"> + <object class="GladePropertyShell" id="hpolicy_editor"> <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">max-content-height</property> + <property name="property_name">hscrollbar-policy</property> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">8</property> - <property name="width">2</property> + <property name="left_attach">1</property> + <property name="top_attach">9</property> </packing> </child> <child> - <object class="GladePropertyShell" id="max_content_height_editor"> + <object class="GladePropertyLabel" id="vpolicy_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="property_name">max-content-height</property> + <property name="margin_start">12</property> + <property name="property_name">vscrollbar-policy</property> + <property name="custom_text" translatable="yes">Scrollbar Policy:</property> </object> <packing> <property name="left_attach">2</property> - <property name="top_attach">8</property> - <property name="width">2</property> + <property name="top_attach">9</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="propagate_natural_width_label"> + <object class="GladePropertyShell" id="vpolicy_editor"> <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">propagate-natural-width</property> + <property name="property_name">vscrollbar-policy</property> </object> <packing> - <property name="left_attach">0</property> + <property name="left_attach">3</property> <property name="top_attach">9</property> - <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyShell" id="propagate_natural_width_editor"> + <object class="GladePropertyLabel" id="hadj_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="property_name">propagate-natural-width</property> + <property name="margin_start">24</property> + <property name="property_name">hadjustment</property> + <property name="custom_text" translatable="yes">Adjustment:</property> </object> <packing> - <property name="left_attach">2</property> - <property name="top_attach">9</property> - <property name="width">2</property> + <property name="left_attach">0</property> + <property name="top_attach">10</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="propagate_natural_height_label"> + <object class="GladePropertyLabel" id="vadj_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">propagate-natural-height</property> + <property name="margin_start">12</property> + <property name="property_name">vadjustment</property> + <property name="custom_text" translatable="yes">Adjustment:</property> </object> <packing> - <property name="left_attach">0</property> + <property name="left_attach">2</property> <property name="top_attach">10</property> - <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyShell" id="propagate_natural_height_editor"> + <object class="GladePropertyShell" id="hadj_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="property_name">propagate-natural-height</property> + <property name="property_name">hadjustment</property> </object> <packing> - <property name="left_attach">2</property> + <property name="left_attach">1</property> <property name="top_attach">10</property> - <property name="width">2</property> </packing> </child> <child> - <object class="GtkLabel" id="htitle"> + <object class="GladePropertyShell" id="vadj_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="valign">center</property> - <property name="margin_left">12</property> - <property name="hexpand">False</property> - <property name="label" translatable="yes">Horizontal</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> + <property name="property_name">vadjustment</property> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">11</property> - <property name="width">2</property> + <property name="left_attach">3</property> + <property name="top_attach">10</property> </packing> </child> <child> - <object class="GtkLabel" id="vtitle"> + <object class="GladePropertyShell" id="overlay_scrolling_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="valign">center</property> <property name="hexpand">False</property> - <property name="label" translatable="yes">Vertical</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> + <property name="property_name">overlay-scrolling</property> + <property name="editor_type">GladeEpropCheck</property> </object> <packing> <property name="left_attach">2</property> - <property name="top_attach">11</property> + <property name="top_attach">4</property> <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="hpolicy_label"> + <object class="GladePropertyLabel" id="max_content_width_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">24</property> - <property name="property_name">hscrollbar-policy</property> - <property name="custom_text" translatable="yes">Scrollbar Policy:</property> + <property name="margin_start">12</property> + <property name="hexpand">False</property> + <property name="property_name">max-content-width</property> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">12</property> + <property name="top_attach">6</property> </packing> </child> <child> - <object class="GladePropertyShell" id="hpolicy_editor"> + <object class="GladePropertyLabel" id="propagate_natural_width_label"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="property_name">hscrollbar-policy</property> + <property name="margin_start">12</property> + <property name="hexpand">False</property> + <property name="property_name">propagate-natural-width</property> </object> <packing> - <property name="left_attach">1</property> - <property name="top_attach">12</property> + <property name="left_attach">0</property> + <property name="top_attach">7</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="vpolicy_label"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> - <property name="property_name">vscrollbar-policy</property> - <property name="custom_text" translatable="yes">Scrollbar Policy:</property> + <property name="hexpand">True</property> + <child> + <object class="GladePropertyLabel" id="content_height_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="property_name">min-content-height</property> + <property name="custom_text" translatable="yes">Height: </property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GladePropertyShell" id="content_height_editor"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="property_name">min-content-height</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="left_attach">2</property> - <property name="top_attach">12</property> - </packing> - </child> - <child> - <object class="GladePropertyShell" id="vpolicy_editor"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="property_name">vscrollbar-policy</property> - </object> - <packing> - <property name="left_attach">3</property> - <property name="top_attach">12</property> + <property name="top_attach">5</property> + <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="hadj_label"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">24</property> - <property name="property_name">hadjustment</property> - <property name="custom_text" translatable="yes">Adjustment:</property> + <property name="hexpand">True</property> + <child> + <object class="GladePropertyLabel" id="max_content_height_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="property_name">max-content-height</property> + <property name="custom_text" translatable="yes">Height: </property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GladePropertyShell" id="max_content_height_editor"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="property_name">max-content-height</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> - <property name="left_attach">0</property> - <property name="top_attach">13</property> + <property name="left_attach">2</property> + <property name="top_attach">6</property> + <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyLabel" id="vadj_label"> + <object class="GtkBox"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="margin_left">12</property> - <property name="property_name">vadjustment</property> - <property name="custom_text" translatable="yes">Adjustment:</property> + <property name="hexpand">True</property> + <child> + <object class="GladePropertyLabel" id="propagate_natural_height_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="hexpand">False</property> + <property name="property_name">propagate-natural-height</property> + <property name="custom_text" translatable="yes">Height: </property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GladePropertyShell" id="propagate_natural_height_editor"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="property_name">propagate-natural-height</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> <packing> <property name="left_attach">2</property> - <property name="top_attach">13</property> + <property name="top_attach">7</property> + <property name="width">2</property> </packing> </child> <child> - <object class="GladePropertyShell" id="hadj_editor"> + <object class="GladePropertyShell" id="content_width_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="property_name">hadjustment</property> + <property name="property_name">min-content-width</property> </object> <packing> <property name="left_attach">1</property> - <property name="top_attach">13</property> + <property name="top_attach">5</property> </packing> </child> <child> - <object class="GladePropertyShell" id="vadj_editor"> + <object class="GladePropertyShell" id="max_content_width_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="property_name">vadjustment</property> + <property name="property_name">max-content-width</property> </object> <packing> - <property name="left_attach">3</property> - <property name="top_attach">13</property> + <property name="left_attach">1</property> + <property name="top_attach">6</property> </packing> </child> <child> - <object class="GladePropertyShell" id="overlay_scrolling_editor"> + <object class="GladePropertyShell" id="propagate_natural_width_editor"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="property_name">overlay-scrolling</property> - <property name="editor_type">GladeEpropCheck</property> + <property name="property_name">propagate-natural-width</property> </object> <packing> - <property name="left_attach">2</property> - <property name="top_attach">4</property> - <property name="width">2</property> + <property name="left_attach">1</property> + <property name="top_attach">7</property> </packing> </child> </object> @@ -456,17 +481,6 @@ Author: Tristan Van Berkom <tvb@gnome.org> <editor id="window_placement_editor"/> <editor id="kinetic_scrolling_editor"/> <editor id="content_width_label"/> - <editor id="content_width_editor"/> - <editor id="content_height_label"/> - <editor id="content_height_editor"/> - <editor id="max_content_width_label"/> - <editor id="max_content_width_editor"/> - <editor id="max_content_height_label"/> - <editor id="max_content_height_editor"/> - <editor id="propagate_natural_width_label"/> - <editor id="propagate_natural_width_editor"/> - <editor id="propagate_natural_height_label"/> - <editor id="propagate_natural_height_editor"/> <editor id="hpolicy_label"/> <editor id="hpolicy_editor"/> <editor id="vpolicy_label"/> @@ -476,6 +490,17 @@ Author: Tristan Van Berkom <tvb@gnome.org> <editor id="hadj_editor"/> <editor id="vadj_editor"/> <editor id="overlay_scrolling_editor"/> + <editor id="max_content_width_label"/> + <editor id="propagate_natural_width_label"/> + <editor id="content_height_label"/> + <editor id="content_height_editor"/> + <editor id="max_content_height_label"/> + <editor id="max_content_height_editor"/> + <editor id="propagate_natural_height_label"/> + <editor id="propagate_natural_height_editor"/> + <editor id="content_width_editor"/> + <editor id="max_content_width_editor"/> + <editor id="propagate_natural_width_editor"/> </child-editors> </template> </interface> |