summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/numfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/numfmt.cxx')
-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");