forked from qt-creator/qt-creator
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user