forked from qt-creator/qt-creator
QmlDesigner.PropertyEditor: style HueSlider
Change-Id: Iec7483006ca91482c7f9a6a81dc742294e78ad1f Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -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 {
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user