diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-03-13 23:23:31 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-03-13 23:23:40 +0200 |
commit | 70dba37ef6c7a329d6009ae6de70fbf061e7d46e (patch) | |
tree | 9e1868e8a697b3fbd7bd1fa494afca80fbb979ec /cui | |
parent | 265e3fa0d81099719a911893569d53a7e5318988 (diff) |
Hide the font preview on iOS
There are enough problems making the dialogs look and work sanely in
the iOS app without the preview being placed completely wrongly and
covering other controls.
Change-Id: If6018f41ba0c250a630e3a917f69174eb0782620
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/chardlg.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx index 75dab248267c..86dda316d5d1 100644 --- a/cui/source/tabpages/chardlg.cxx +++ b/cui/source/tabpages/chardlg.cxx @@ -341,6 +341,9 @@ SvxCharNamePage::SvxCharNamePage( vcl::Window* pParent, const SfxItemSet& rInSet m_pCTLFrame->Show(bShowCTL); get(m_pPreviewWin, "preview"); +#ifdef IOS + m_pPreviewWin->Hide(); +#endif m_pWestFontLanguageLB->SetLanguageList(SvxLanguageListFlags::WESTERN, true, false, true); m_pEastFontLanguageLB->SetLanguageList(SvxLanguageListFlags::CJK, true, false, true); @@ -1360,6 +1363,9 @@ SvxCharEffectsPage::SvxCharEffectsPage( vcl::Window* pParent, const SfxItemSet& get(m_pA11yWarningFT, "a11ywarning"); get(m_pPreviewWin, "preview"); +#ifdef IOS + m_pPreviewWin->Hide(); +#endif Initialize(); } @@ -2532,6 +2538,9 @@ SvxCharPositionPage::SvxCharPositionPage( vcl::Window* pParent, const SfxItemSet get(m_pPairKerningBtn, "pairkerning"); get(m_pPreviewWin, "preview"); +#ifdef IOS + m_pPreviewWin->Hide(); +#endif Initialize(); } @@ -3166,6 +3175,9 @@ SvxCharTwoLinesPage::SvxCharTwoLinesPage(vcl::Window* pParent, const SfxItemSet& get(m_pEndBracketLB, "endbracket"); get(m_pPreviewWin, "preview"); +#ifdef IOS + m_pPreviewWin->Hide(); +#endif Initialize(); } |