From 1f9fb21c82d112d1846fabf58fe3920b8305fac4 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 28 Sep 2011 15:45:08 +0200 Subject: [PATCH] WelcomePage: fix for painting bug The width and height is defined for the designer. Change-Id: I8ac941a417f16f1cc960ef72395c197a545168bf Reviewed-on: http://codereview.qt-project.org/5730 Reviewed-by: Eike Ziller --- share/qtcreator/welcomescreen/develop.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/welcomescreen/develop.qml b/share/qtcreator/welcomescreen/develop.qml index e74f284e5f0..ca734bfc08b 100644 --- a/share/qtcreator/welcomescreen/develop.qml +++ b/share/qtcreator/welcomescreen/develop.qml @@ -43,6 +43,9 @@ Item { opacity: 0.8 } + width: 920 + height: 600 + property int proposedWidth: 920 property int proposedHeight: 600 @@ -133,7 +136,7 @@ Item { anchors.left: recentSessions.right anchors.right: parent.right anchors.rightMargin: scrollArea.verticalScrollBar.visible ? 0 : - -scrollArea.verticalScrollBar.width - 2 + -scrollArea.verticalScrollBar.width - 6 } }