diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-11 12:45:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-11 19:42:51 +0000 |
commit | 00dc46b5832247a4bb018032305f629068523e6f (patch) | |
tree | 9c8c72e370562b8dffb39ba8e86034149473352c /cui/uiconfig | |
parent | a84663a612053389703472dbd7aac4a4b9e7df7b (diff) |
Use a sizegroup in the numbering formatting page instead of using code
set the two additional frames we want to take the height of the category frame
set to preferred size of 0 in order for the set of three to all the take the
category height via the sizegroup
i.e. there are a gadzillion currency formats so show eight of them at a time
Change-Id: I4badd8852fc56553a94616ce8845aa40b22f2dc1
Diffstat (limited to 'cui/uiconfig')
-rw-r--r-- | cui/uiconfig/ui/numberingformatpage.ui | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/cui/uiconfig/ui/numberingformatpage.ui b/cui/uiconfig/ui/numberingformatpage.ui index 181349744870..d3b7e11ff1d9 100644 --- a/cui/uiconfig/ui/numberingformatpage.ui +++ b/cui/uiconfig/ui/numberingformatpage.ui @@ -48,7 +48,6 @@ </child> <child> <object class="GtkButton" id="add"> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -56,7 +55,6 @@ <property name="tooltip_markup" translatable="yes">Add</property> <property name="tooltip_text" translatable="yes">Add</property> <property name="valign">center</property> - <property name="use_action_appearance">False</property> <property name="image">image2</property> </object> <packing> @@ -68,7 +66,6 @@ </child> <child> <object class="GtkButton" id="edit"> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -76,7 +73,6 @@ <property name="tooltip_markup" translatable="yes">Edit Comment</property> <property name="tooltip_text" translatable="yes">Edit Comment</property> <property name="valign">center</property> - <property name="use_action_appearance">False</property> <property name="image">image3</property> </object> <packing> @@ -88,7 +84,6 @@ </child> <child> <object class="GtkButton" id="delete"> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> @@ -96,7 +91,6 @@ <property name="tooltip_markup" translatable="yes">Remove</property> <property name="tooltip_text" translatable="yes">Remove</property> <property name="valign">center</property> - <property name="use_action_appearance">False</property> <property name="image">image1</property> </object> <packing> @@ -235,11 +229,9 @@ <child> <object class="GtkCheckButton" id="negnumred"> <property name="label" translatable="yes">_Negative numbers red</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -254,11 +246,9 @@ <child> <object class="GtkCheckButton" id="thousands"> <property name="label" translatable="yes">_Thousands separator</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -353,6 +343,7 @@ </child> <child> <object class="GtkFrame" id="formatframe"> + <property name="height_request">0</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> @@ -424,6 +415,7 @@ </child> <child> <object class="GtkFrame" id="languageframe"> + <property name="height_request">0</property> <property name="visible">True</property> <property name="can_focus">False</property> <property name="vexpand">True</property> @@ -472,11 +464,9 @@ <child> <object class="GtkCheckButton" id="sourceformat"> <property name="label" translatable="yes">So_urce Format</property> - <property name="use_action_appearance">False</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="no_show_all">True</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> @@ -587,4 +577,13 @@ </row> </data> </object> + <object class="GtkSizeGroup" id="sizegroup1"> + <property name="mode">vertical</property> + <property name="ignore_hidden">True</property> + <widgets> + <widget name="categoryframe"/> + <widget name="formatframe"/> + <widget name="languageframe"/> + </widgets> + </object> </interface> |