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>
This commit is contained in:
Thomas Hartmann
2019-07-02 11:34:18 +02:00
committed by Tim Jenssen
parent 1a4aedf568
commit 76d0a16a81

View File

@@ -65,6 +65,7 @@ T.CheckBox {
text: myCheckBox.text text: myCheckBox.text
font: myCheckBox.font font: myCheckBox.font
color: StudioTheme.Values.themeTextColor color: StudioTheme.Values.themeTextColor
visible: text !== ""
} }
ActionIndicator { ActionIndicator {