summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2019-10-02 16:19:34 -0400
committerTor Lillqvist <tml@collabora.com>2019-11-13 10:56:18 +0100
commitc8822da749e3720ad99f21ea9bb7a0b035a4b859 (patch)
tree9b60a22ca7384cd557e82cf38a6b454b2e9ba21f /chart2
parentac8ad3057033a190b1eff729c7196e8aa5fc43fc (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> Reviewed-on: https://gerrit.libreoffice.org/82519 Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'chart2')
-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 60fbf69c289a..1b89b2bae2a7 100644
--- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
+++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx
@@ -31,7 +31,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;