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:
Henning Gruendl
2022-09-21 12:39:35 +02:00
committed by Henning Gründl
parent 58fbc2e8b8
commit 95384d4526

View File

@@ -270,7 +270,6 @@ Item {
x: scrollView.leftPadding
y: scrollView.height - height
width: scrollView.availableWidth
active: scrollView.ScrollBar.vertical.active
orientation: Qt.Horizontal
onPressedChanged: root.focusSignal()
}
@@ -280,7 +279,6 @@ Item {
x: scrollView.mirrored ? 0 : scrollView.width - width
y: scrollView.topPadding
height: scrollView.availableHeight
active: scrollView.ScrollBar.horizontal.active
orientation: Qt.Vertical
onPressedChanged: root.focusSignal()
}