Commit 618512ac authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: style HueSlider

Change-Id: Iec7483006ca91482c7f9a6a81dc742294e78ad1f
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 8a4fcad9
...@@ -76,8 +76,6 @@ Item { ...@@ -76,8 +76,6 @@ Item {
Rectangle { Rectangle {
anchors.fill: track anchors.fill: track
anchors.margins: -1 anchors.margins: -1
//anchors.topMargin: -2
//anchors.leftMargin: -2
color: "darkGray" color: "darkGray"
} }
...@@ -96,31 +94,26 @@ Item { ...@@ -96,31 +94,26 @@ Item {
height: parent.height height: parent.height
} }
// BorderImage {
// source: "images/sunken_frame.png"
// border.left: 4
// border.right: 4
// border.top: 4
// border.bottom: 4
// anchors.fill: track
// anchors.margins: -1
// anchors.topMargin: -2
// anchors.leftMargin: -2
// }
Rectangle { Rectangle {
id: handle id: handle
width: 14 width: 14
height: 8 height: 10
opacity: 0.9
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
smooth: true smooth: true
radius: 24 radius: 2
color: "gray"
border.color: "black" border.color: "black"
border.width: 1 border.width: 1
gradient: Gradient {
GradientStop {color: "#2c2c2c" ; position: 0}
GradientStop {color: "#343434" ; position: 0.15}
GradientStop {color: "#373737" ; position: 1.0}
}
y: updatePos() y: updatePos()
z: 1 z: 1
......
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