forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
6a5cc268d2
commit
52f971ce5e
@@ -132,7 +132,6 @@ Rectangle {
|
|||||||
|
|
||||||
StudioControls.TextField {
|
StudioControls.TextField {
|
||||||
id: stateNameField
|
id: stateNameField
|
||||||
actionIndicatorVisible: !isBaseState || (isBaseState && modelHasDefaultState)
|
|
||||||
|
|
||||||
actionIndicator.onClicked: {
|
actionIndicator.onClicked: {
|
||||||
stateNameField.actionIndicator.forceVisible = true
|
stateNameField.actionIndicator.forceVisible = true
|
||||||
@@ -151,7 +150,7 @@ Rectangle {
|
|||||||
y: 4
|
y: 4
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
// use the spacing which the image to the delegate rectangle has
|
// 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.right: removeStateButton.left
|
||||||
anchors.rightMargin: 2
|
anchors.rightMargin: 2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user