QmlDesigner: Fix StatesDelegate TextField size

Task-number: QDS-2572
Change-Id: I0b797724ce626870921649807246ec692c7c40d3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2020-08-04 10:47:18 +02:00
committed by Henning Gründl
parent 6a5cc268d2
commit 52f971ce5e

View File

@@ -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