summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-16 14:39:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-17 09:27:43 +0100
commitf5aa9247c7f24078c237f8d212d3caa1286ee9b8 (patch)
tree83d2bb06140c8e4f06606178483a18bc588ad65d /svx
parentf264a149850d688ec53af918c04bea684d8a1617 (diff)
increase the amount of text shown in the font preview
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/fntctrl.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx
index 6af2f7af3068..2f5dcf08f9ec 100644
--- a/svx/source/dialog/fntctrl.cxx
+++ b/svx/source/dialog/fntctrl.cxx
@@ -83,7 +83,9 @@
// define ----------------------------------------------------------------
-#define TEXT_WIDTH 20
+//TODO: remove this and calculate off the actual size of text, not
+//an arbitrary number of characters
+#define TEXT_WIDTH 80
#define ISITEMSET rSet.GetItemState(nWhich)>=SFX_ITEM_DEFAULT
using namespace ::com::sun::star::uno;