diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-12-20 17:32:25 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-05-18 08:42:03 +0200 |
commit | 6abd526731eb90bf1cb56260c3617729041dd578 (patch) | |
tree | 81570d6d4bdbd247c39d5b1587d21caad1e7dc7e /svtools/source | |
parent | 28606ab36152ce0c0b929e6eb23262eac4881a4e (diff) |
tdf#126966: Make the colour swatches larger on iOS
We reduce the number of swatches per row from 12 to 4 and increase
their size suitably so that the thing still fits in the sidebar in the
iOS app on an iPad in portrait orientation.
Change-Id: Ie81e5b54e88a02c6866de27448b5be72e97d9a16
Reviewed-on: https://gerrit.libreoffice.org/85620
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 18af8dc6a038d1e76274de7abc55ffa06b39a6c8)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94211
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 6cd499a08e6d..315a0333b7b7 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -261,6 +261,9 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetListBoxMaximumLineCount() const sal_Int16 SvtAccessibilityOptions_Impl::GetColorValueSetColumnCount() const { +#ifdef IOS + return 4; +#else css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY); sal_Int16 nRet = 12; @@ -275,6 +278,7 @@ sal_Int16 SvtAccessibilityOptions_Impl::GetColorValueSetColumnCount() const } return nRet; +#endif } bool SvtAccessibilityOptions_Impl::GetPreviewUsesCheckeredBackground() const |