diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-21 09:20:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-21 11:16:36 +0000 |
commit | e9be9ba808359d87675e20cc1c5c7e2c78e59c7d (patch) | |
tree | 1512c19da0b26193ed381cef2af7d7676e6ea5c5 /sw/uiconfig | |
parent | 9ac1f0aae7d1e288518e024683fade15f2713528 (diff) |
make the word count dialog the right size with disabled CJK word counting
we want to hide the CJK word count features unless CJK UI is enabled, or if
there are CJK chars in the word count. We want the dialog to fit to the best
size, so force the dialog to resize after it's visible (like a vclexpander)
if in non-CJK mode and some CJK chars appear in the document.
Change-Id: I328dcf2b111d5c5f527757ca11695ce4e9c43353
Diffstat (limited to 'sw/uiconfig')
-rw-r--r-- | sw/uiconfig/swriter/ui/wordcount.ui | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sw/uiconfig/swriter/ui/wordcount.ui b/sw/uiconfig/swriter/ui/wordcount.ui index 733f049bb316..f4e32556bdd8 100644 --- a/sw/uiconfig/swriter/ui/wordcount.ui +++ b/sw/uiconfig/swriter/ui/wordcount.ui @@ -77,7 +77,7 @@ <property name="can_focus">False</property> <property name="hexpand">True</property> <property name="row_spacing">2</property> - <property name="column_spacing">10</property> + <property name="column_spacing">12</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> @@ -130,7 +130,7 @@ <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -147,7 +147,7 @@ <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -164,7 +164,7 @@ <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -215,7 +215,7 @@ <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -232,7 +232,7 @@ <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -249,7 +249,7 @@ <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -260,12 +260,9 @@ </packing> </child> <child> - <placeholder/> - </child> - <child> <object class="GtkLabel" id="cjkcharsft"> - <property name="visible">True</property> <property name="can_focus">False</property> + <property name="no_show_all">True</property> <property name="xalign">0</property> <property name="xpad">10</property> <property name="label" translatable="yes">Asian characters and Korean syllables</property> @@ -279,12 +276,12 @@ </child> <child> <object class="GtkLabel" id="selectcjkchars"> - <property name="visible">True</property> <property name="can_focus">False</property> + <property name="no_show_all">True</property> <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -296,12 +293,12 @@ </child> <child> <object class="GtkLabel" id="doccjkchars"> - <property name="visible">True</property> <property name="can_focus">False</property> + <property name="no_show_all">True</property> <property name="halign">end</property> <property name="hexpand">True</property> <property name="xalign">1</property> - <property name="label"> 0</property> + <property name="label"> 0</property> <property name="justify">right</property> </object> <packing> @@ -311,6 +308,9 @@ <property name="height">1</property> </packing> </child> + <child> + <placeholder/> + </child> </object> </child> </object> |