From 109028c7980d0bba53123cd76c93769ab93f6d51 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann <Thomas.Hartmann@nokia.com> Date: Tue, 16 Feb 2010 12:29:42 +0100 Subject: [PATCH] QmlDesigner.propertyEditor: fixing alignment of checkbox label --- share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml index 3563f2d7538..0d1601ec4ea 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml @@ -56,10 +56,11 @@ QWidget { //This is a special checkBox that does color coding for states QCheckBox { id: localCheckBox checkable: true; - checked: (backendValue === undefined || backendValue === null) ? false : backendValue.value; + checked: (backendValue === undefined || backendValue === null) ? false : backendValue.value || null; onToggled: { backendValue.value = checked; } + maximumWidth: 30 } QLabel { -- GitLab