Commit b625f398 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: Fix CheckBox styling

We should use the spacing property.

Change-Id: Ie0b6a58bb4e7de19a09a90fd07a7b41f52790ce7
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent 3e1234c8
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment