diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-29 20:27:54 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-29 20:28:01 +0100 |
commit | 63ced8e54f1786e5814f082c9fb87c89e5c850a9 (patch) | |
tree | 08401c80bbbee9d7e8a41957646b611a9f46e03c | |
parent | 1193dc782f4479a81f3d283c99df2f5c7e022682 (diff) |
Related: fdo#67395 drop 'Font' frame title
+ promote the family, style, size to frame titles and drop
the surrounding 'Font' one
+ bottom align the previews again
+ drop empty spacing labels in favour of 6pixel spacing
Change-Id: I2c0b78163894c5283162c37bd71fa1bbc3c341c7
-rw-r--r-- | cui/uiconfig/ui/charnamepage.ui | 382 | ||||
-rw-r--r-- | cui/uiconfig/ui/effectspage.ui | 1 | ||||
-rw-r--r-- | cui/uiconfig/ui/positionpage.ui | 2 | ||||
-rw-r--r-- | cui/uiconfig/ui/twolinespage.ui | 70 |
4 files changed, 208 insertions, 247 deletions
diff --git a/cui/uiconfig/ui/charnamepage.ui b/cui/uiconfig/ui/charnamepage.ui index a6b8c55ba294..fe3270aff626 100644 --- a/cui/uiconfig/ui/charnamepage.ui +++ b/cui/uiconfig/ui/charnamepage.ui @@ -9,212 +9,203 @@ <property name="orientation">vertical</property> <property name="spacing">12</property> <child> - <object class="GtkFrame" id="simple"> + <object class="GtkGrid" id="simple"> <property name="can_focus">False</property> <property name="no_show_all">True</property> - <property name="label_xalign">0</property> - <property name="shadow_type">none</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> <child> - <object class="GtkAlignment" id="alignment5"> + <object class="GtkLabel" id="westfontinfo-nocjk"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="top_padding">6</property> - <property name="left_padding">12</property> + <property name="margin_top">6</property> + <property name="xalign">0</property> + </object> + <packing> + <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> + <object class="GtkBox" id="box1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="spacing">12</property> <child> - <object class="GtkGrid" id="grid4"> + <object class="GtkLabel" id="westlangft-nocjk"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Language</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">westlanglb-nocjk</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="svxcorelo-SvxLanguageBox" id="westlanglb-nocjk"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="hexpand">True</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">1</property> + <property name="width">3</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkFrame" id="frame1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> + <child> + <object class="GtkAlignment" id="alignment6"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="vexpand">True</property> - <property name="row_spacing">6</property> - <property name="column_spacing">6</property> - <child> - <object class="GtkLabel" id="westfontnameft-nocjk"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Family </property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">westfontnamelb-nocjk</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="weststyleft-nocjk"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Style</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">weststylelb-nocjk</property> - </object> - <packing> - <property name="left_attach">1</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="westsizeft-nocjk"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="hexpand">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Size</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">westsizelb-nocjk</property> - </object> - <packing> - <property name="left_attach">2</property> - <property name="top_attach">0</property> - <property name="width">1</property> - <property name="height">1</property> - </packing> - </child> + <property name="top_padding">6</property> <child> <object class="svtlo-FontNameBox" id="westfontnamelb-nocjk"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> <property name="dropdown">False</property> </object> - <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> + </object> + </child> + <child type="label"> + <object class="GtkLabel" id="westfontnameft-nocjk"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Family</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkFrame" id="frame2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> + <child> + <object class="GtkAlignment" id="alignment7"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="top_padding">6</property> <child> <object class="svtlo-FontStyleBox" id="weststylelb-nocjk"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> <property name="dropdown">False</property> </object> - <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> + </object> + </child> + <child type="label"> + <object class="GtkLabel" id="weststyleft-nocjk"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Style</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkFrame" id="frame3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="label_xalign">0</property> + <property name="shadow_type">none</property> + <child> + <object class="GtkAlignment" id="alignment8"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="top_padding">6</property> <child> <object class="svtlo-FontSizeBox" id="westsizelb-nocjk"> <property name="height_request">150</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> <property name="dropdown">False</property> </object> - <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="GtkLabel" id="label1"> - <property name="height_request">6</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <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> - <object class="GtkLabel" id="label2"> - <property name="height_request">6</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <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> - <object class="GtkLabel" id="westfontinfo-nocjk"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="xalign">0</property> - </object> - <packing> - <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> - <object class="GtkBox" id="box1"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="spacing">12</property> - <child> - <object class="GtkLabel" id="westlangft-nocjk"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="hexpand">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Language</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">westlanglb-nocjk</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="svxcorelo-SvxLanguageBox" id="westlanglb-nocjk"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="halign">start</property> - <property name="hexpand">True</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">3</property> - <property name="width">3</property> - <property name="height">1</property> - </packing> </child> </object> </child> + <child type="label"> + <object class="GtkLabel" id="westsizeft-nocjk"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Size</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + </child> </object> - </child> - <child type="label"> - <object class="GtkLabel" id="label21"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Font</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> </child> </object> <packing> @@ -364,27 +355,15 @@ </packing> </child> <child> - <object class="GtkLabel" id="label3"> - <property name="height_request">6</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> - <property name="width">4</property> - <property name="height">1</property> - </packing> - </child> - <child> <object class="GtkLabel" id="westfontinfo-cjk"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="top_attach">2</property> <property name="width">4</property> <property name="height">1</property> </packing> @@ -551,19 +530,6 @@ </packing> </child> <child> - <object class="GtkLabel" id="label7"> - <property name="height_request">6</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> - <property name="width">4</property> - <property name="height">1</property> - </packing> - </child> - <child> <object class="GtkLabel" id="eastfontinfo"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -571,7 +537,7 @@ </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="top_attach">2</property> <property name="width">4</property> <property name="height">1</property> </packing> @@ -738,27 +704,15 @@ </packing> </child> <child> - <object class="GtkLabel" id="label8"> - <property name="height_request">6</property> - <property name="visible">True</property> - <property name="can_focus">False</property> - </object> - <packing> - <property name="left_attach">0</property> - <property name="top_attach">2</property> - <property name="width">4</property> - <property name="height">1</property> - </packing> - </child> - <child> <object class="GtkLabel" id="ctlfontinfo"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="margin_top">6</property> <property name="xalign">0</property> </object> <packing> <property name="left_attach">0</property> - <property name="top_attach">3</property> + <property name="top_attach">2</property> <property name="width">4</property> <property name="height">1</property> </packing> @@ -788,6 +742,7 @@ <object class="GtkAlignment" id="alignment4"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="valign">end</property> <property name="top_padding">6</property> <property name="left_padding">12</property> <child> @@ -806,6 +761,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> + <property name="pack_type">end</property> <property name="position">4</property> </packing> </child> diff --git a/cui/uiconfig/ui/effectspage.ui b/cui/uiconfig/ui/effectspage.ui index 75c28eb7bdf7..76f1a82cc3b1 100644 --- a/cui/uiconfig/ui/effectspage.ui +++ b/cui/uiconfig/ui/effectspage.ui @@ -659,6 +659,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> + <property name="pack_type">end</property> <property name="position">1</property> </packing> </child> diff --git a/cui/uiconfig/ui/positionpage.ui b/cui/uiconfig/ui/positionpage.ui index 0adf19264e14..533b5554d5d7 100644 --- a/cui/uiconfig/ui/positionpage.ui +++ b/cui/uiconfig/ui/positionpage.ui @@ -493,6 +493,7 @@ <object class="GtkAlignment" id="alignment13"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="valign">end</property> <property name="top_padding">6</property> <property name="left_padding">12</property> <child> @@ -513,6 +514,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> + <property name="pack_type">end</property> <property name="position">3</property> </packing> </child> diff --git a/cui/uiconfig/ui/twolinespage.ui b/cui/uiconfig/ui/twolinespage.ui index 0f4fef5f1985..dc9643e1faf8 100644 --- a/cui/uiconfig/ui/twolinespage.ui +++ b/cui/uiconfig/ui/twolinespage.ui @@ -2,40 +2,6 @@ <interface> <!-- interface-requires gtk+ 3.0 --> <!-- interface-requires LibreOffice 1.0 --> - <object class="GtkListStore" id="liststore2"> - <columns> - <!-- column-name gchararray1 --> - <column type="gchararray"/> - <!-- column-name gint1 --> - <column type="gint"/> - </columns> - <data> - <row> - <col id="0" translatable="yes">(None)</col> - <col id="1">0</col> - </row> - <row> - <col id="0" translatable="yes">)</col> - <col id="1">1</col> - </row> - <row> - <col id="0" translatable="yes">]</col> - <col id="1">2</col> - </row> - <row> - <col id="0" translatable="yes">></col> - <col id="1">3</col> - </row> - <row> - <col id="0" translatable="yes">}</col> - <col id="1">4</col> - </row> - <row> - <col id="0" translatable="yes">Other Characters...</col> - <col id="1">5</col> - </row> - </data> - </object> <object class="GtkBox" id="TwoLinesPage"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -186,6 +152,7 @@ <object class="GtkAlignment" id="alignment14"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="valign">end</property> <property name="top_padding">6</property> <property name="left_padding">12</property> <child> @@ -204,6 +171,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> + <property name="pack_type">end</property> <property name="position">2</property> </packing> </child> @@ -242,4 +210,38 @@ </row> </data> </object> + <object class="GtkListStore" id="liststore2"> + <columns> + <!-- column-name gchararray1 --> + <column type="gchararray"/> + <!-- column-name gint1 --> + <column type="gint"/> + </columns> + <data> + <row> + <col id="0" translatable="yes">(None)</col> + <col id="1">0</col> + </row> + <row> + <col id="0" translatable="yes">)</col> + <col id="1">1</col> + </row> + <row> + <col id="0" translatable="yes">]</col> + <col id="1">2</col> + </row> + <row> + <col id="0" translatable="yes">></col> + <col id="1">3</col> + </row> + <row> + <col id="0" translatable="yes">}</col> + <col id="1">4</col> + </row> + <row> + <col id="0" translatable="yes">Other Characters...</col> + <col id="1">5</col> + </row> + </data> + </object> </interface> |