aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml')
-rw-r--r--share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml18
1 files changed, 7 insertions, 11 deletions
diff --git a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
index faae1210b5..08a7bc7dc3 100644
--- a/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
+++ b/share/qtcreator/qmldesigner/statesEditorQmlSources/StatesDelegate.qml
@@ -53,7 +53,6 @@ Rectangle {
property int closeButtonMargin: 6
property int textFieldMargin: 4
- property int highlightBorderWidth: 2
signal delegateInteraction
@@ -165,21 +164,11 @@ Rectangle {
}
}
-
- Rectangle { // highlight for default state
- anchors.margins: (isDefaultState || (isBaseState && !modelHasDefaultState)) ? -myRoot.highlightBorderWidth : 0
- anchors.fill: column
- color: StudioTheme.Values.themeStateSeparator
- border.color: StudioTheme.Values.themeStateDefaultHighlight
- border.width: (isDefaultState || (isBaseState && !modelHasDefaultState)) ? myRoot.highlightBorderWidth : 0
- }
-
Column {
id: column
anchors.margins: myRoot.stateMargin
anchors.fill: parent
- spacing: expanded ? myRoot.columnSpacing : 0
Rectangle {
width: myRoot.width - 2 * myRoot.stateMargin
@@ -263,6 +252,13 @@ Rectangle {
}
}
+ Rectangle { // separator
+ width: column.width
+ height: myRoot.columnSpacing
+ color: StudioTheme.Values.themeStateSeparator
+ visible: expanded
+ }
+
Rectangle {
id: stateImageArea
width: myRoot.width - 2 * myRoot.stateMargin