Commit b4bb1e97 authored by Alessandro Portale's avatar Alessandro Portale Committed by Thomas Hartmann

QmlDesigner.StatesEditor: Themed borders

Use the typical theme color role for border.color in the state items and
"+" button.

Change-Id: Id87180deeff8c69da2bacf541484482a2cd4d380
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent bde4362d
......@@ -37,6 +37,7 @@ Rectangle {
property int delegateStateImageSize
color: baseColor
border.color: creatorTheme.QmlDesignerBackgroundColorDarker
MouseArea {
anchors.fill: parent
......@@ -117,7 +118,7 @@ Rectangle {
anchors.margins: -1
anchors.fill: stateImage
border.width: 1
border.color: "#000000"
border.color: creatorTheme.QmlDesignerBackgroundColorDarker
}
Image {
id: stateImage
......
......@@ -111,6 +111,7 @@ FocusScope {
background: Rectangle {
property color buttonBaseColor: Qt.darker(creatorTheme.QmlDesignerBackgroundColorDarkAlternate, 1.1)
color: control.hovered ? Qt.lighter(buttonBaseColor, 1.2) : buttonBaseColor
border.color: creatorTheme.QmlDesignerBackgroundColorDarker
border.width: 1
Image {
source: "image://icons/plus"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment