diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-21 17:27:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-22 09:03:50 +0000 |
commit | 31d78bac6ca0f09e0f0fb2858c5a1bd2864fc9aa (patch) | |
tree | 734357c75bafeb0a0fef1ad5ea8d6868b1f49e8d | |
parent | 78425b0df6462a3c63c3b0241f0d71d464bb7b0c (diff) |
various efforts to consistently apply HIG rules
Change-Id: I045871d1f6c0dbd1baf1df82b196763d374bec38
-rw-r--r-- | cui/uiconfig/ui/name.ui | 14 | ||||
-rw-r--r-- | cui/uiconfig/ui/zoomdialog.ui | 4 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/insertbreak.ui | 44 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/insertscript.ui | 21 |
4 files changed, 31 insertions, 52 deletions
diff --git a/cui/uiconfig/ui/name.ui b/cui/uiconfig/ui/name.ui index 6323f45451ad..3e31f50766e2 100644 --- a/cui/uiconfig/ui/name.ui +++ b/cui/uiconfig/ui/name.ui @@ -2,14 +2,15 @@ <interface> <!-- interface-requires gtk+ 3.0 --> <object class="GtkAction" id="action1"/> - <object class="GtkDialog" id="Name"> + <object class="GtkDialog" id="NewToolbarDialog"> <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="border_width">6</property> + <property name="title" translatable="yes">Name</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> - <property name="spacing">2</property> + <property name="spacing">12</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> <property name="can_focus">False</property> @@ -70,13 +71,15 @@ <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="hexpand">True</property> <property name="orientation">vertical</property> - <property name="spacing">6</property> + <property name="spacing">12</property> <child> <object class="GtkBox" id="box2"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> @@ -115,6 +118,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkLabel" id="label2"> <property name="visible">True</property> @@ -151,7 +155,7 @@ </child> </object> <packing> - <property name="expand">False</property> + <property name="expand">True</property> <property name="fill">True</property> <property name="position">1</property> </packing> diff --git a/cui/uiconfig/ui/zoomdialog.ui b/cui/uiconfig/ui/zoomdialog.ui index 5fe7cd7f0d11..32e5a93f7f9a 100644 --- a/cui/uiconfig/ui/zoomdialog.ui +++ b/cui/uiconfig/ui/zoomdialog.ui @@ -9,14 +9,14 @@ </object> <object class="GtkDialog" id="ZoomDialog"> <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="border_width">6</property> <property name="title" translatable="yes">Zoom & View Layout</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> <property name="orientation">vertical</property> - <property name="spacing">2</property> + <property name="spacing">12</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> <property name="can_focus">False</property> diff --git a/sw/uiconfig/swriter/ui/insertbreak.ui b/sw/uiconfig/swriter/ui/insertbreak.ui index 3cfdb2ced297..d9b5ec69664b 100644 --- a/sw/uiconfig/swriter/ui/insertbreak.ui +++ b/sw/uiconfig/swriter/ui/insertbreak.ui @@ -21,13 +21,13 @@ </object> <object class="GtkDialog" id="BreakDialog"> <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="border_width">6</property> <property name="title" translatable="yes">Insert Break</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> - <property name="spacing">2</property> + <property name="spacing">12</property> <child internal-child="action_area"> <object class="GtkButtonBox" id="dialog-action_area1"> <property name="can_focus">False</property> @@ -95,12 +95,14 @@ <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="top_padding">6</property> <property name="left_padding">12</property> <child> <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkRadioButton" id="linerb"> <property name="label" translatable="yes">Line break</property> @@ -156,8 +158,11 @@ <object class="GtkLabel" id="styleft"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="xalign">0</property> <property name="label" translatable="yes">Style</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">stylelb</property> </object> <packing> <property name="expand">False</property> @@ -183,11 +188,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> + <property name="margin_top">6</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> - <accessibility> - <relation type="label-for" target="pagenumsb"/> - </accessibility> </object> <packing> <property name="expand">False</property> @@ -196,29 +199,16 @@ </packing> </child> <child> - <object class="GtkBox" id="box2"> + <object class="GtkSpinButton" id="pagenumsb"> <property name="visible">True</property> - <property name="can_focus">False</property> - <child> - <object class="GtkSpinButton" id="pagenumsb"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="invisible_char">●</property> - <property name="invisible_char_set">True</property> - <property name="adjustment">adjustment1</property> - <accessibility> - <relation type="labelled-by" target="pagenumcb"/> - </accessibility> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <placeholder/> - </child> + <property name="can_focus">True</property> + <property name="halign">start</property> + <property name="invisible_char">●</property> + <property name="invisible_char_set">True</property> + <property name="adjustment">adjustment1</property> + <accessibility> + <relation type="labelled-by" target="pagenumcb"/> + </accessibility> </object> <packing> <property name="expand">False</property> diff --git a/sw/uiconfig/swriter/ui/insertscript.ui b/sw/uiconfig/swriter/ui/insertscript.ui index 4fcc093cca91..fe538930cbc6 100644 --- a/sw/uiconfig/swriter/ui/insertscript.ui +++ b/sw/uiconfig/swriter/ui/insertscript.ui @@ -3,13 +3,13 @@ <!-- interface-requires gtk+ 3.0 --> <object class="GtkDialog" id="InsertScriptDialog"> <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="border_width">6</property> <property name="title" translatable="yes">Insert Script</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> - <property name="spacing">2</property> + <property name="spacing">12</property> <child> <object class="GtkGrid" id="grid1"> <property name="width_request">400</property> @@ -48,12 +48,10 @@ <child> <object class="GtkRadioButton" id="url"> <property name="label" translatable="yes">URL</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="halign">start</property> - <property name="use_action_appearance">False</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> <property name="group">text</property> @@ -83,12 +81,10 @@ <child> <object class="GtkButton" id="browse"> <property name="label" translatable="yes">Browse ...</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> <property name="halign">end</property> - <property name="use_action_appearance">False</property> </object> <packing> <property name="left_attach">2</property> @@ -100,12 +96,10 @@ <child> <object class="GtkRadioButton" id="text"> <property name="label" translatable="yes">Text</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="halign">start</property> - <property name="use_action_appearance">False</property> <property name="xalign">0</property> <property name="active">True</property> <property name="draw_indicator">True</property> @@ -159,13 +153,11 @@ <child> <object class="GtkButton" id="ok"> <property name="label">gtk-ok</property> - <property name="use_action_appearance">False</property> <property name="visible">True</property> <property name="can_focus">True</property> <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> @@ -177,11 +169,9 @@ <child> <object class="GtkButton" id="cancel"> <property name="label">gtk-cancel</property> - <property name="use_action_appearance">False</property> <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> @@ -193,11 +183,9 @@ <child> <object class="GtkButton" id="help"> <property name="label">gtk-help</property> - <property name="use_action_appearance">False</property> <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> @@ -210,14 +198,13 @@ <object class="GtkGrid" id="grid2"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="column_spacing">6</property> <property name="column_homogeneous">True</property> <child> <object class="GtkButton" id="previous"> - <property name="use_action_appearance">False</property> <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="image">image1</property> <property name="image_position">right</property> </object> @@ -230,11 +217,9 @@ </child> <child> <object class="GtkButton" id="next"> - <property name="use_action_appearance">False</property> <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="image">image2</property> </object> <packing> |