Skip to content
Snippets Groups Projects
Commit 5af3f24d authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: style fix

I moved the tooltip into the parent widget to avoid coloring issues.

Task-number: QTCREATORBUG-5480
Change-Id: Ic7f70d83e22847ca8f257be3728139f68a0cb77c
Reviewed-on: http://codereview.qt.nokia.com/1776


Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
parent 238efaf3
No related branches found
No related tags found
No related merge requests found
......@@ -296,15 +296,14 @@ QExtGroupBox {
leftMargin: 0
spacing: 2
QWidget {
toolTip: qsTr("Hue")
layout: HorizontalLayout {
Label {
text: "H"
toolTip: qsTr("Hue")
fixedWidth: 15
}
QSpinBox {
toolTip: qsTr("Hue")
id: hueSpinBox
maximum: 359
value: colorControl.hue;
......@@ -315,14 +314,13 @@ QExtGroupBox {
}
}
QWidget {
toolTip: qsTr("Saturation")
layout: HorizontalLayout {
Label {
text: "S"
toolTip: qsTr("Saturation")
fixedWidth: 15
}
QSpinBox {
toolTip: qsTr("Saturation")
id: saturationSpinBox
maximum: 255
value: colorControl.saturation;
......@@ -334,14 +332,13 @@ QExtGroupBox {
}
QWidget {
toolTip: qsTr("Brightness")
layout: HorizontalLayout {
Label {
text: "B"
toolTip: qsTr("Brightness")
fixedWidth: 15
}
QSpinBox {
toolTip: qsTr("Brightness")
id: valueSpinBox
maximum: 255
value: colorControl.value;
......@@ -352,15 +349,14 @@ QExtGroupBox {
}
QWidget {
toolTip: qsTr("Alpha")
layout: HorizontalLayout {
topMargin: 12
Label {
text: "A"
toolTip: qsTr("Alpha")
fixedWidth: 15
}
QSpinBox {
toolTip: qsTr("Alpha")
id: alphaSpinBox
maximum: 255
value: colorControl.alpha;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment