summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-08 16:25:49 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-08 16:29:44 +0000
commitcec5fc7c57de1f6e5e25378d644e5dd6e139fbeb (patch)
tree5ff78e79ce6f90133c86bce6dd8cd90623e1c658 /cui/source/tabpages
parent3ff753615d7925ee2b9ef933dafef9cc884528a9 (diff)
give the numbering format listbox a fixed width
Change-Id: I038cb5650adf9173c971e358aa6b20c782fb0ae7
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/numfmt.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index a2f375a97244..67dce8106e7e 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -235,6 +235,9 @@ SvxNumberFormatTabPage::SvxNumberFormatTabPage(Window* pParent,
get(m_pFtFormat, "formatft");
get(m_pLbCurrency, "currencylb");
get(m_pLbFormat, "formatlb");
+ long nWidth = approximate_char_width() * 26;
+ m_pLbFormat->set_width_request(nWidth);
+ m_pLbCurrency->set_width_request(nWidth);
get(m_pFtLanguage, "languageft");
get(m_pLbLanguage, "languagelb");
get(m_pCbSourceFormat, "sourceformat");