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
...@@ -296,15 +296,14 @@ QExtGroupBox { ...@@ -296,15 +296,14 @@ QExtGroupBox {
leftMargin: 0 leftMargin: 0
spacing: 2 spacing: 2
QWidget { QWidget {
toolTip: qsTr("Hue")
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "H" text: "H"
toolTip: qsTr("Hue")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Hue")
id: hueSpinBox id: hueSpinBox
maximum: 359 maximum: 359
value: colorControl.hue; value: colorControl.hue;
...@@ -315,14 +314,13 @@ QExtGroupBox { ...@@ -315,14 +314,13 @@ QExtGroupBox {
} }
} }
QWidget { QWidget {
toolTip: qsTr("Saturation")
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "S" text: "S"
toolTip: qsTr("Saturation")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Saturation")
id: saturationSpinBox id: saturationSpinBox
maximum: 255 maximum: 255
value: colorControl.saturation; value: colorControl.saturation;
...@@ -334,14 +332,13 @@ QExtGroupBox { ...@@ -334,14 +332,13 @@ QExtGroupBox {
} }
QWidget { QWidget {
toolTip: qsTr("Brightness")
layout: HorizontalLayout { layout: HorizontalLayout {
Label { Label {
text: "B" text: "B"
toolTip: qsTr("Brightness")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Brightness")
id: valueSpinBox id: valueSpinBox
maximum: 255 maximum: 255
value: colorControl.value; value: colorControl.value;
...@@ -352,15 +349,14 @@ QExtGroupBox { ...@@ -352,15 +349,14 @@ QExtGroupBox {
} }
QWidget { QWidget {
toolTip: qsTr("Alpha")
layout: HorizontalLayout { layout: HorizontalLayout {
topMargin: 12 topMargin: 12
Label { Label {
text: "A" text: "A"
toolTip: qsTr("Alpha")
fixedWidth: 15 fixedWidth: 15
} }
QSpinBox { QSpinBox {
toolTip: qsTr("Alpha")
id: alphaSpinBox id: alphaSpinBox
maximum: 255 maximum: 255
value: colorControl.alpha; value: colorControl.alpha;
......
Supports Markdown
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