Commit b2bbb6e6 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: fixing styling of ColorButton

Change-Id: I1acef0eaf569a49e5a9226cead7dbccd4c9abf95
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 59126cd9
......@@ -28,7 +28,7 @@
****************************************************************************/
import QtQuick 2.1
import QtQuick.Controls 1.0
import QtQuick.Controls 1.0 as Controls
Item {
id: colorButton
......@@ -271,6 +271,9 @@ Item {
Label {
text: "H:"
width: 16
color: "#eee"
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
}
SliderSpinBox {
id: hueSlider2
......@@ -289,9 +292,12 @@ Item {
Row {
z: 2
spacing: 4
Label {
Controls.Label {
text: "S:"
width: 16
color: "#eee"
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
}
SliderSpinBox {
......@@ -311,9 +317,12 @@ Item {
Row {
z: 1
spacing: 4
Label {
Controls.Label {
text: "L:"
width: 16
color: "#eee"
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
}
SliderSpinBox {
id: lightnessSlider
......@@ -332,9 +341,12 @@ Item {
Row {
z: 0
spacing: 4
Label {
Controls.Label {
text: "A:"
width: 16
color: "#eee"
elide: Text.ElideRight
anchors.verticalCenter: parent.verticalCenter
}
SliderSpinBox {
......@@ -348,7 +360,6 @@ Item {
if (colorButton.alpha !== value)
colorButton.alpha = value
}
}
}
......
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