QmlDesigner Icon for Gradient List button

Change-Id: I875f15e06b39362247f9ee3c020acf125358c506
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Aleksei German
2019-07-19 15:03:38 +02:00
parent 18e6962fca
commit 4c77521a6f
2 changed files with 13 additions and 15 deletions

View File

@@ -518,8 +518,8 @@ Column {
height: 20 height: 20
visible: colorEditor.supportGradient visible: colorEditor.supportGradient
color: "white" color: Theme.qmlDesignerButtonColor()
border.color: "white" border.color: Theme.qmlDesignerBorderColor()
border.width: 1 border.width: 1
ToolTipArea { ToolTipArea {
@@ -566,15 +566,14 @@ Column {
} }
} }
Rectangle { Image {
width: 18 id: image
height: 18 width: 16
height: 16
smooth: false
anchors.centerIn: parent anchors.centerIn: parent
color: "steelblue" source: "images/icon-gradient-list.png"
}
border.color: "black"
border.width: 1
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
onClicked: { onClicked: {
@@ -582,7 +581,6 @@ Column {
} }
} }
} }
}
ExpandingSpacer { ExpandingSpacer {
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB