diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml index d2df7ed73a7..6d892328850 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml @@ -39,10 +39,6 @@ Controls.CheckBox { property color highlightColor: "orange" property color textColor: colorLogic.textColor - onTextChanged: { - if (text.charAt(0) !== " ") - text = " " + text - } property variant backendValue diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomCheckBoxStyle.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomCheckBoxStyle.qml index 85b27d85566..816e15ac517 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomCheckBoxStyle.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CustomCheckBoxStyle.qml @@ -32,7 +32,7 @@ import QtQuick.Controls 1.1 as Controls import QtQuick.Controls.Styles 1.1 CheckBoxStyle { - spacing: 8 + spacing: 24 label: Controls.Label { text: control.text ; color: checkBox.textColor } indicator: Item { implicitWidth: 16