forked from qt-creator/qt-creator
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 <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
d73afb522a
commit
1f9fb21c82
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user