forked from qt-creator/qt-creator
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:
committed by
Tim Jenssen
parent
1a4aedf568
commit
76d0a16a81
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user