mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -06:00
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:
parent
41a5f05391
commit
26c7558a53
1 changed files with 2 additions and 0 deletions
|
@ -136,6 +136,7 @@ Item
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
height: parent.height
|
height: parent.height
|
||||||
width: selectors.textWidth
|
width: selectors.textWidth
|
||||||
|
visible: materialSelection.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
OldControls.ToolButton
|
OldControls.ToolButton
|
||||||
|
@ -178,6 +179,7 @@ Item
|
||||||
color: UM.Theme.getColor("text")
|
color: UM.Theme.getColor("text")
|
||||||
height: parent.height
|
height: parent.height
|
||||||
width: selectors.textWidth
|
width: selectors.textWidth
|
||||||
|
visible: variantSelection.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
OldControls.ToolButton
|
OldControls.ToolButton
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue