diff options
Diffstat (limited to 'cui/source/tabpages/chardlg.cxx')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 100054ada02f..c5e7496cb975 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -347,6 +347,20 @@ SvxCharNamePage::SvxCharNamePage( Window* pParent, const SfxItemSet& rInSet ) m_pWestFontLanguageLB->setChildProperty<sal_Int32>(sLeftAttach, 3); m_pWestFontLanguageLB->setChildProperty<sal_Int32>(sTopAttach, 2); + if (!bCJK) + { + //10 lines + sal_Int32 nHeight = m_pWestFontSizeLB->CalcWindowSizePixel(10); + + rtl::OString sHeightRequest(RTL_CONSTASCII_STRINGPARAM("height-request")); + m_pWestFontNameLB->setChildProperty<sal_Int32>(sHeightRequest, + nHeight); + m_pWestFontStyleLB->setChildProperty<sal_Int32>(sHeightRequest, + nHeight); + m_pWestFontSizeLB->setChildProperty<sal_Int32>(sHeightRequest, + nHeight); + } + m_pEastLine = new FixedLine(m_pGrid, CUI_RES( FL_EAST ) ); m_pEastLine->setChildProperty<sal_Int32>(sLeftAttach, 0); m_pEastLine->setChildProperty<sal_Int32>(sTopAttach, 3); |