From 3cb12a51ceb658a729c86192101a484e1e9c9158 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 24 Jun 2020 16:54:18 +0200 Subject: [PATCH] QmlDesigner: Increase default for canvas size Change-Id: Id37aaa5bca253751781c02f9dc44343db137069a Reviewed-by: Thomas Hartmann --- src/plugins/qmldesigner/designersettings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/designersettings.cpp b/src/plugins/qmldesigner/designersettings.cpp index 91091c53d66..c0e8b3bdf1d 100644 --- a/src/plugins/qmldesigner/designersettings.cpp +++ b/src/plugins/qmldesigner/designersettings.cpp @@ -50,8 +50,8 @@ void DesignerSettings::fromSettings(QSettings *settings) restoreValue(settings, DesignerSettingsKey::ITEMSPACING, 6); restoreValue(settings, DesignerSettingsKey::CONTAINERPADDING, 8); - restoreValue(settings, DesignerSettingsKey::CANVASWIDTH, 40000); - restoreValue(settings, DesignerSettingsKey::CANVASHEIGHT, 40000); + restoreValue(settings, DesignerSettingsKey::CANVASWIDTH, 100000); + restoreValue(settings, DesignerSettingsKey::CANVASHEIGHT, 100000); restoreValue(settings, DesignerSettingsKey::ROOT_ELEMENT_INIT_WIDTH, 640); restoreValue(settings, DesignerSettingsKey::ROOT_ELEMENT_INIT_HEIGHT, 480); restoreValue(settings, DesignerSettingsKey::WARNING_FOR_FEATURES_IN_DESIGNER, true);