diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-06 15:14:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-28 08:48:09 +0100 |
commit | 93e903ac5d2671e7f6f2a233a8c18c092cc177b8 (patch) | |
tree | bb0532dacca538234e696698167bb64d69ce5731 /cui | |
parent | eb08a72f950684806bba1101e4e89da07c7bbf94 (diff) |
layout western-only dialog differently
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index fd556b24d858..7bca8fef1ac9 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -343,11 +343,11 @@ SvxCharNamePage::SvxCharNamePage( Window* pParent, const SfxItemSet& rInSet ) } m_pWestFontLanguageFT = new FixedText(m_pGrid, CUI_RES( bShowNonWestern ? FT_WEST_LANG : FT_WEST_LANG_NOCJK ) ); - m_pWestFontLanguageFT->setChildProperty<sal_Int32>(sLeftAttach, 3); - m_pWestFontLanguageFT->setChildProperty<sal_Int32>(sTopAttach, 1); + m_pWestFontLanguageFT->setChildProperty<sal_Int32>(sLeftAttach, bShowNonWestern ? 3 : 1); + m_pWestFontLanguageFT->setChildProperty<sal_Int32>(sTopAttach, bShowNonWestern ? 1 : 3); m_pWestFontLanguageLB = new SvxLanguageBox(m_pGrid, CUI_RES( bShowNonWestern ? LB_WEST_LANG : LB_WEST_LANG_NOCJK ) ); - m_pWestFontLanguageLB->setChildProperty<sal_Int32>(sLeftAttach, 3); - m_pWestFontLanguageLB->setChildProperty<sal_Int32>(sTopAttach, 2); + m_pWestFontLanguageLB->setChildProperty<sal_Int32>(sLeftAttach, bShowNonWestern ? 3 : 1); + m_pWestFontLanguageLB->setChildProperty<sal_Int32>(sTopAttach, bShowNonWestern ? 2 : 4); if (!bShowNonWestern) { |