diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-18 20:33:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-19 09:23:28 +0100 |
commit | f0f8eedf46f386be83608e9d37c2e4c0e7cbe8a8 (patch) | |
tree | 8db0b15644a7352cad62c7f433a4e92395977a52 /starmath | |
parent | fontsizedialog.ui widget (diff) | |
download | core-f0f8eedf46f386be83608e9d37c2e4c0e7cbe8a8.tar.gz core-f0f8eedf46f386be83608e9d37c2e4c0e7cbe8a8.zip |
add a sizegroup and alignment to line up widgets
Change-Id: I7db65ae46cd4fe5c36cdfda172adcb139b5ca4e0
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/uiconfig/smath/ui/fontsizedialog.ui | 96 |
1 files changed, 53 insertions, 43 deletions
diff --git a/starmath/uiconfig/smath/ui/fontsizedialog.ui b/starmath/uiconfig/smath/ui/fontsizedialog.ui index afb5ee61c91a..b9f7b50c1b38 100644 --- a/starmath/uiconfig/smath/ui/fontsizedialog.ui +++ b/starmath/uiconfig/smath/ui/fontsizedialog.ui @@ -1,6 +1,18 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <!-- interface-requires gtk+ 3.0 --> + <object class="GtkAdjustment" id="adjustmentBaseSize"> + <property name="lower">4</property> + <property name="upper">127</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + <object class="GtkAdjustment" id="adjustmentRelativeSizes"> + <property name="lower">5</property> + <property name="upper">200</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> <object class="GtkDialog" id="FontSizeDialog"> <property name="can_focus">False</property> <property name="border_width">6</property> @@ -23,7 +35,6 @@ <property name="can_default">True</property> <property name="has_default">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -38,7 +49,6 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -53,7 +63,6 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="use_stock">True</property> </object> <packing> @@ -68,7 +77,6 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> - <property name="use_action_appearance">False</property> <property name="use_underline">True</property> </object> <packing> @@ -93,39 +101,45 @@ <property name="orientation">vertical</property> <property name="spacing">12</property> <child> - <object class="GtkBox" id="box2"> + <object class="GtkAlignment" id="alignment2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="spacing">12</property> + <property name="left_padding">12</property> <child> - <object class="GtkLabel" id="label4"> + <object class="GtkBox" id="box2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">Base _size</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">spinB_baseSize:0pt</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkSpinButton" id="spinB_baseSize:0pt"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="margin_left">12</property> <property name="hexpand">True</property> - <property name="invisible_char">●</property> - <property name="adjustment">adjustmentBaseSize</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel" id="label4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Base _size</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">spinB_baseSize:0pt</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="spinB_baseSize:0pt"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="invisible_char">●</property> + <property name="adjustment">adjustmentBaseSize</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">1</property> - </packing> </child> </object> <packing> @@ -155,8 +169,6 @@ <property name="hexpand">True</property> <property name="row_spacing">6</property> <property name="column_spacing">12</property> - <property name="n_rows">5</property> - <property name="n_columns">2</property> <child> <object class="GtkSpinButton" id="spinB_function:0%"> <property name="visible">True</property> @@ -349,16 +361,14 @@ <action-widget response="0">default</action-widget> </action-widgets> </object> - <object class="GtkAdjustment" id="adjustmentBaseSize"> - <property name="lower">4</property> - <property name="upper">127</property> - <property name="step_increment">1</property> - <property name="page_increment">10</property> - </object> - <object class="GtkAdjustment" id="adjustmentRelativeSizes"> - <property name="lower">5</property> - <property name="upper">200</property> - <property name="step_increment">1</property> - <property name="page_increment">10</property> + <object class="GtkSizeGroup" id="sizegroup1"> + <widgets> + <widget name="label4"/> + <widget name="label2"/> + <widget name="label3"/> + <widget name="label5"/> + <widget name="label7"/> + <widget name="label6"/> + </widgets> </object> </interface> |