diff options
author | Christiaan Janssen <christiaan.janssen@nokia.com> | 2010-02-26 15:50:02 +0100 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@nokia.com> | 2010-02-26 15:50:02 +0100 |
commit | 6fccaf1a0daed06b99de1a543edf9a43b594eeeb (patch) | |
tree | 313eacf17eaaf7e065248683cd2d0f8d8c0d2ba5 /share | |
parent | 13aa81319e0bf4b765180af556e64227ce4033fc (diff) | |
download | qt-creator-6fccaf1a0daed06b99de1a543edf9a43b594eeeb.tar.gz |
QmlDesigner.PropertyEditor: checkbox label color matching regular label color
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml | 4 | ||||
-rw-r--r-- | share/qtcreator/qmldesigner/propertyeditor/Qt/ColorScheme.qml | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml index f5b73c514f..28b40e8da4 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml @@ -40,12 +40,12 @@ QWidget { //This is a special checkBox that does color coding for states if (backendValue != null && backendValue.isInModel) localLabel.setStyleSheet("color: "+scheme.changedBaseColor); else - localLabel.setStyleSheet("color: "+scheme.defaultColor); + localLabel.setStyleSheet("color: "+scheme.boldTextColor); } else { if (backendValue != null && backendValue.isInSubState) localLabel.setStyleSheet("color: "+scheme.changedStateColor); else - localLabel.setStyleSheet("color: "+scheme.defaultColor); + localLabel.setStyleSheet("color: "+scheme.boldTextColor); } } } diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/ColorScheme.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/ColorScheme.qml index 5330a12cde..71f3888ae4 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/ColorScheme.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/ColorScheme.qml @@ -5,6 +5,7 @@ Item { id: colorScheme property var disabledColor: "gray"; property var defaultColor: "white"; + property var boldTextColor: "#dedede"; property var changedBaseColor: "#9999ff"; property var changedStateColor: "#99ccff"; property var optionsColor: "white"; |