diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-07-02 11:34:18 +0200 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2019-07-02 16:22:39 +0000 |
commit | 76d0a16a8157b3c82afbeb5456cb2e589ad1111b (patch) | |
tree | bb0ddbea2a639b202def0ed0db228be853313a41 /share | |
parent | 1a4aedf5681ee175d2e2cb46778c3b31bd94e949 (diff) |
QmlDesigner: Hide label if text is empty
Otherwise we get padding on the left.
Change-Id: I62d78bf988cefe8c91f55268a71c70094f163d5d
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckBox.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckBox.qml index f75b54d2610..5ec29bbe2e3 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/CheckBox.qml @@ -65,6 +65,7 @@ T.CheckBox { text: myCheckBox.text font: myCheckBox.font color: StudioTheme.Values.themeTextColor + visible: text !== "" } ActionIndicator { |