aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel.molkentin@nokia.com>2011-08-23 12:46:19 +0200
committerEike Ziller <eike.ziller@nokia.com>2011-08-24 13:41:34 +0200
commitf06a0798cc339856aff3342dcf0d0a4a6bb3c940 (patch)
tree89ecd3f41c5dd3eca60ef5dc77f77cb6322fd815
parent636c2699158f766234198a10ce5c1c2250bc5483 (diff)
WelcomeScreen: Don't move ScrollBar beyond scroll area.
Change-Id: I931256ced736c9d5514e50e7a2bd383d2e3fcfd0 Reviewed-on: http://codereview.qt.nokia.com/3398 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
-rw-r--r--share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml b/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml
index 2826c384785..75ed83ade3f 100644
--- a/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml
+++ b/share/qtcreator/welcomescreen/widgets/ExampleBrowser.qml
@@ -54,7 +54,7 @@ Item {
anchors.right: parent.right
anchors.bottomMargin: - 8
anchors.leftMargin: -8
- anchors.rightMargin: scrollArea.verticalScrollBar.visible ? 8 : -8
+ anchors.rightMargin: -8
CheckBox {
@@ -117,7 +117,6 @@ Item {
delegate: ExampleDelegate { width: scrollArea.width; onTagClicked: exampleBrowserRoot.appendTag(tag) }
}
}
- Component.onCompleted: verticalScrollBar.anchors.bottomMargin = -(scrollArea.anchors.bottomMargin + 8)
}
Rectangle {