From 95384d452691a65415b351e9ac3667b97188dcc5 Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Wed, 21 Sep 2022 12:39:35 +0200 Subject: [PATCH] QmlDesigner: Fix horizontal ScrollBar in States Change-Id: Ie1875cf5c9e57ac8ad74eebbfc24ba4ea90f73e7 Reviewed-by: Reviewed-by: Thomas Hartmann --- share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml b/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml index 83de652edb0..ba7950781c4 100644 --- a/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml +++ b/share/qtcreator/qmldesigner/newstateseditor/StateThumbnail.qml @@ -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() }