aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@nokia.com>2012-03-01 13:33:50 +0100
committerThomas Hartmann <Thomas.Hartmann@nokia.com>2012-03-06 12:48:43 +0100
commit5e365686287d39c6bec414de6bba91ad3fb0e5fa (patch)
tree20f44f89bb236828d6dc495730f4ae21545be2fe /share
parentb41171c8473e7202f67aaa0f7ace1bf40e02919e (diff)
WelcomePage: fix scrollbars of grid view
Task-number: QTCREATORBUG-7012 Change-Id: I015db6f3ccff4a8b28b59f7eab530a07464e771d Reviewed-by: Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/welcomescreen/widgets/CustomizedGridView.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/CustomizedGridView.qml b/share/qtcreator/welcomescreen/widgets/CustomizedGridView.qml
index 5f0f80c776..1a7b953c16 100644
--- a/share/qtcreator/welcomescreen/widgets/CustomizedGridView.qml
+++ b/share/qtcreator/welcomescreen/widgets/CustomizedGridView.qml
@@ -70,6 +70,8 @@ GridView {
verticalMaximumValue: vscrollbar.maximumValue
onVerticalValueChanged: gridView.contentY = verticalValue
+ verticalValue: gridView.contentY
+
}
ScrollBar {
@@ -86,5 +88,6 @@ GridView {
onValueChanged: gridView.contentY = value
anchors.rightMargin: styleitem.frameoffset
anchors.bottomMargin: hscrollbar.visible ? hscrollbar.height : styleitem.frameoffset
+ value: gridView.contentY
}
}