mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 21:45:59 +08: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
@ -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…
x
Reference in New Issue
Block a user