QmlDesigner.PropertyEditor: Fix CheckBox styling

We should use the spacing property.

Change-Id: Ie0b6a58bb4e7de19a09a90fd07a7b41f52790ce7
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
This commit is contained in:
Thomas Hartmann
2014-08-06 13:07:14 +02:00
parent 3e1234c81a
commit b625f3983d
2 changed files with 1 additions and 5 deletions

View File

@@ -39,10 +39,6 @@ Controls.CheckBox {
property color highlightColor: "orange" property color highlightColor: "orange"
property color textColor: colorLogic.textColor property color textColor: colorLogic.textColor
onTextChanged: {
if (text.charAt(0) !== " ")
text = " " + text
}
property variant backendValue property variant backendValue

View File

@@ -32,7 +32,7 @@ import QtQuick.Controls 1.1 as Controls
import QtQuick.Controls.Styles 1.1 import QtQuick.Controls.Styles 1.1
CheckBoxStyle { CheckBoxStyle {
spacing: 8 spacing: 24
label: Controls.Label { text: control.text ; color: checkBox.textColor } label: Controls.Label { text: control.text ; color: checkBox.textColor }
indicator: Item { indicator: Item {
implicitWidth: 16 implicitWidth: 16