diff options
author | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2014-10-15 18:11:53 -0500 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-10-17 08:21:44 +0000 |
commit | 73703e7fa548b14ed8df175f2867e0d6923e768b (patch) | |
tree | 6a7272027e33ab290efb2125454f71b1a3580668 /cui | |
parent | DOCX import: parse <w:spacing>'s w:before/afterLines attribute (diff) | |
download | core-73703e7fa548b14ed8df175f2867e0d6923e768b.tar.gz core-73703e7fa548b14ed8df175f2867e0d6923e768b.zip |
fdo#60664 HIG fixes for Thesaurus dialog
* Disable manual resizing
* Standardize column width to 12
* Reduce a widget’s size request a little
* Add missing colons to labels that precede controls (fdo#78826)
* Unrelated tweaks to the XML are courtesy of Glade.
Change-Id: I6d746b909adebde284e1848417373dd8b06e75fe
Reviewed-on: https://gerrit.libreoffice.org/11992
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/uiconfig/ui/thesaurus.ui | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/cui/uiconfig/ui/thesaurus.ui b/cui/uiconfig/ui/thesaurus.ui index 2c8f82aac56a..61ea65fe977d 100644 --- a/cui/uiconfig/ui/thesaurus.ui +++ b/cui/uiconfig/ui/thesaurus.ui @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.18.3 --> <interface> - <!-- interface-requires gtk+ 3.0 --> - <!-- interface-requires LibreOffice 1.0 --> + <requires lib="gtk+" version="3.0"/> + <requires lib="LibreOffice" version="1.0"/> <object class="GtkImage" id="image1"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -11,6 +12,7 @@ <property name="can_focus">False</property> <property name="border_width">6</property> <property name="title" translatable="yes">Thesaurus</property> + <property name="resizable">False</property> <property name="type_hint">dialog</property> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> @@ -33,15 +35,17 @@ <property name="expand">False</property> <property name="fill">True</property> <property name="position">0</property> + <property name="secondary">True</property> </packing> </child> <child> <object class="GtkButton" id="replace"> - <property name="label" translatable="yes">Replace</property> + <property name="label" translatable="yes">_Replace</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="has_default">True</property> <property name="receives_default">True</property> + <property name="use_underline">True</property> </object> <packing> <property name="expand">False</property> @@ -76,13 +80,13 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="row_spacing">6</property> - <property name="column_spacing">6</property> + <property name="column_spacing">12</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Current word</property> + <property name="label" translatable="yes">Current word:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">wordcb</property> </object> @@ -90,7 +94,6 @@ <property name="left_attach">1</property> <property name="top_attach">0</property> <property name="width">2</property> - <property name="height">1</property> </packing> </child> <child> @@ -98,7 +101,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Alternatives</property> + <property name="label" translatable="yes">Alternatives:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">alternatives</property> </object> @@ -106,7 +109,6 @@ <property name="left_attach">0</property> <property name="top_attach">2</property> <property name="width">3</property> - <property name="height">1</property> </packing> </child> <child> @@ -114,7 +116,7 @@ <property name="visible">True</property> <property name="can_focus">False</property> <property name="xalign">0</property> - <property name="label" translatable="yes">Replace with</property> + <property name="label" translatable="yes">Replace with:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">replaceed</property> </object> @@ -122,7 +124,6 @@ <property name="left_attach">0</property> <property name="top_attach">4</property> <property name="width">3</property> - <property name="height">1</property> </packing> </child> <child> @@ -135,7 +136,6 @@ <property name="left_attach">0</property> <property name="top_attach">5</property> <property name="width">3</property> - <property name="height">1</property> </packing> </child> <child> @@ -148,8 +148,6 @@ <packing> <property name="left_attach">1</property> <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> @@ -164,8 +162,6 @@ <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> @@ -177,14 +173,12 @@ <packing> <property name="left_attach">2</property> <property name="top_attach">1</property> - <property name="width">1</property> - <property name="height">1</property> </packing> </child> <child> <object class="cuilo-ThesaurusAlternativesCtrl" id="alternatives"> - <property name="width_request">500</property> - <property name="height_request">300</property> + <property name="width_request">450</property> + <property name="height_request">250</property> <property name="visible">True</property> <property name="can_focus">False</property> </object> @@ -192,7 +186,6 @@ <property name="left_attach">0</property> <property name="top_attach">3</property> <property name="width">3</property> - <property name="height">1</property> </packing> </child> <child> |