summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-10-02 16:19:34 -0400
committerTor Lillqvist <tml@collabora.com>2019-10-03 11:08:37 +0200
commit08b683df8ba77fcf105d2925d1badddfbbbb108d (patch)
treefb5c04037047b4e0bdc77780ca517c210db729b1
parent77c08d12a35edf1a9c18c159afac2ced595ea7db (diff)
tdf#127798: ios: change the default page height of the chart wizard dialog
The constant CHART_WIZARD_PAGEHEIGHT value determines the wizard dialog size, however for a custom theme for IOS those values have to be adjusted. After reading the WizardDialog implementation, there is no code related about chart wizard dialog auto-size. Change-Id: I6219d777bcc51f278ee10d834e8d0fe6c12f7918 Reviewed-on: https://gerrit.libreoffice.org/80087 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--chart2/source/controller/dialogs/dlg_CreationWizard.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
index 8cf6e4252c43..df5d578c9d7f 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
@@ -30,7 +30,11 @@
#include "DialogModel.hxx"
#define CHART_WIZARD_PAGEWIDTH 250
+#ifdef IOS
+#define CHART_WIZARD_PAGEHEIGHT 200
+#else
#define CHART_WIZARD_PAGEHEIGHT 170
+#endif
using namespace css;