forked from qt-creator/qt-creator
QmlDesigner: Fix horizontal ScrollBar in States
Change-Id: Ie1875cf5c9e57ac8ad74eebbfc24ba4ea90f73e7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
58fbc2e8b8
commit
95384d4526
@@ -270,7 +270,6 @@ Item {
|
|||||||
x: scrollView.leftPadding
|
x: scrollView.leftPadding
|
||||||
y: scrollView.height - height
|
y: scrollView.height - height
|
||||||
width: scrollView.availableWidth
|
width: scrollView.availableWidth
|
||||||
active: scrollView.ScrollBar.vertical.active
|
|
||||||
orientation: Qt.Horizontal
|
orientation: Qt.Horizontal
|
||||||
onPressedChanged: root.focusSignal()
|
onPressedChanged: root.focusSignal()
|
||||||
}
|
}
|
||||||
@@ -280,7 +279,6 @@ Item {
|
|||||||
x: scrollView.mirrored ? 0 : scrollView.width - width
|
x: scrollView.mirrored ? 0 : scrollView.width - width
|
||||||
y: scrollView.topPadding
|
y: scrollView.topPadding
|
||||||
height: scrollView.availableHeight
|
height: scrollView.availableHeight
|
||||||
active: scrollView.ScrollBar.horizontal.active
|
|
||||||
orientation: Qt.Vertical
|
orientation: Qt.Vertical
|
||||||
onPressedChanged: root.focusSignal()
|
onPressedChanged: root.focusSignal()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user