aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2020-08-04 10:47:18 +0200
committerHenning Gründl <henning.gruendl@qt.io>2020-08-05 11:39:44 +0000
commit52f971ce5edb6fe70e40ee7b6fc511e8d0bae093 (patch)
tree646cfb963cd7583be9ae85b353fa632eba08d255
parent6a5cc268d260d248e5f8e7ab7606750d3ecc0c81 (diff)
QmlDesigner: Fix StatesDelegate TextField size
Task-number: QDS-2572 Change-Id: I0b797724ce626870921649807246ec692c7c40d3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
index 29f019e6c6..ef624574ac 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