summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-25 12:41:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-25 12:57:52 +0000
commitc1d3315e8d1e4d8be4bcabcf343ef5dd76d63691 (patch)
treedaf0f19ef428af9f1089df2e17146f32dc5a5c99 /sc
parent423932fe1849a2c9e2f4c1730a93435f39657e95 (diff)
Related: fdo#60764 APPFONT is 1/8 avg char *height* & 1/4 avg char *width*
but *sob*, it's not really that, because there's a dialog scale factor which is per-language which adds a bit to it depending on the language, MAP_REALAPPFONT is the unscaled variant. but *head in hands*, it's not really that either because if the font was considered "too narrow" then the average char width is recalculated in terms of the average char height. *clenches teeth*, add a approximate_char_width and use it directly. It can be considered the rough equivalent of pango_font_metrics_get_approximate_char_width albeit that it retains the same crude 1/8 of the width of "aemnnxEM" Change-Id: I4c135ca03467447dddf279ac0c187b13371acadb
Diffstat (limited to 'sc')
-rw-r--r--sc/uiconfig/scalc/ui/sortoptionspage.ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/uiconfig/scalc/ui/sortoptionspage.ui b/sc/uiconfig/scalc/ui/sortoptionspage.ui
index 0fc7eebe601d..f6815af78bb7 100644
--- a/sc/uiconfig/scalc/ui/sortoptionspage.ui
+++ b/sc/uiconfig/scalc/ui/sortoptionspage.ui
@@ -168,7 +168,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_left">20</property>
- <property name="max_width_chars">72</property>
+ <property name="max_width_chars">65</property>
<accessibility>
<relation type="labelled-by" target="sortuser"/>
</accessibility>