diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/CheckBox.qml index 3563f2d7538e9a76c4e5a804cb99c534656d5d23..0d1601ec4ea6284b802ce610d8185fd736652737 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 {