From 52f971ce5edb6fe70e40ee7b6fc511e8d0bae093 Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Tue, 4 Aug 2020 10:47:18 +0200 Subject: [PATCH] QmlDesigner: Fix StatesDelegate TextField size Task-number: QDS-2572 Change-Id: I0b797724ce626870921649807246ec692c7c40d3 Reviewed-by: Thomas Hartmann --- .../qmldesigner/statesEditorQmlSources/StatesDelegate.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml index 29f019e6c68..ef624574ac8 100644 --- a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml +++ b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml @@ -132,7 +132,6 @@ Rectangle { StudioControls.TextField { id: stateNameField - actionIndicatorVisible: !isBaseState || (isBaseState && modelHasDefaultState) actionIndicator.onClicked: { stateNameField.actionIndicator.forceVisible = true @@ -151,7 +150,7 @@ Rectangle { y: 4 anchors.left: parent.left // use the spacing which the image to the delegate rectangle has - anchors.leftMargin: (isBaseState ? StudioTheme.Values.height : 0) + 4 + anchors.leftMargin: 4 anchors.right: removeStateButton.left anchors.rightMargin: 2