Kaydet (Commit) 70dba37e authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst 265e3fa0
...@@ -341,6 +341,9 @@ SvxCharNamePage::SvxCharNamePage( vcl::Window* pParent, const SfxItemSet& rInSet ...@@ -341,6 +341,9 @@ SvxCharNamePage::SvxCharNamePage( vcl::Window* pParent, const SfxItemSet& rInSet
m_pCTLFrame->Show(bShowCTL); m_pCTLFrame->Show(bShowCTL);
get(m_pPreviewWin, "preview"); get(m_pPreviewWin, "preview");
#ifdef IOS
m_pPreviewWin->Hide();
#endif
m_pWestFontLanguageLB->SetLanguageList(SvxLanguageListFlags::WESTERN, true, false, true); m_pWestFontLanguageLB->SetLanguageList(SvxLanguageListFlags::WESTERN, true, false, true);
m_pEastFontLanguageLB->SetLanguageList(SvxLanguageListFlags::CJK, true, false, true); m_pEastFontLanguageLB->SetLanguageList(SvxLanguageListFlags::CJK, true, false, true);
...@@ -1360,6 +1363,9 @@ SvxCharEffectsPage::SvxCharEffectsPage( vcl::Window* pParent, const SfxItemSet& ...@@ -1360,6 +1363,9 @@ SvxCharEffectsPage::SvxCharEffectsPage( vcl::Window* pParent, const SfxItemSet&
get(m_pA11yWarningFT, "a11ywarning"); get(m_pA11yWarningFT, "a11ywarning");
get(m_pPreviewWin, "preview"); get(m_pPreviewWin, "preview");
#ifdef IOS
m_pPreviewWin->Hide();
#endif
Initialize(); Initialize();
} }
...@@ -2532,6 +2538,9 @@ SvxCharPositionPage::SvxCharPositionPage( vcl::Window* pParent, const SfxItemSet ...@@ -2532,6 +2538,9 @@ SvxCharPositionPage::SvxCharPositionPage( vcl::Window* pParent, const SfxItemSet
get(m_pPairKerningBtn, "pairkerning"); get(m_pPairKerningBtn, "pairkerning");
get(m_pPreviewWin, "preview"); get(m_pPreviewWin, "preview");
#ifdef IOS
m_pPreviewWin->Hide();
#endif
Initialize(); Initialize();
} }
...@@ -3166,6 +3175,9 @@ SvxCharTwoLinesPage::SvxCharTwoLinesPage(vcl::Window* pParent, const SfxItemSet& ...@@ -3166,6 +3175,9 @@ SvxCharTwoLinesPage::SvxCharTwoLinesPage(vcl::Window* pParent, const SfxItemSet&
get(m_pEndBracketLB, "endbracket"); get(m_pEndBracketLB, "endbracket");
get(m_pPreviewWin, "preview"); get(m_pPreviewWin, "preview");
#ifdef IOS
m_pPreviewWin->Hide();
#endif
Initialize(); Initialize();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment