Don't show labels if controls themselves are not shown

The height of the popup is luckily automatically adjusted now.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-11-27 16:44:16 +01:00
parent 41a5f05391
commit 26c7558a53
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -136,6 +136,7 @@ Item
color: UM.Theme.getColor("text")
height: parent.height
width: selectors.textWidth
visible: materialSelection.visible
}
OldControls.ToolButton
@ -178,6 +179,7 @@ Item
color: UM.Theme.getColor("text")
height: parent.height
width: selectors.textWidth
visible: variantSelection.visible
}
OldControls.ToolButton