Commit f06a0798 authored by Daniel Molkentin's avatar Daniel Molkentin Committed by Eike Ziller

WelcomeScreen: Don't move ScrollBar beyond scroll area.

Change-Id: I931256ced736c9d5514e50e7a2bd383d2e3fcfd0
Reviewed-on: http://codereview.qt.nokia.com/3398Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
parent 636c2699
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment