mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:39:02 +08:00
Ensure that width of popup does not get set to 0
CURA-5785
This commit is contained in:
parent
6b55490af8
commit
e3ebf89092
@ -83,8 +83,12 @@ Item
|
||||
id: viewSelectorPopup
|
||||
width: viewSelector.width - 2 * UM.Theme.getSize("default_margin").width
|
||||
|
||||
// For some reason the height of the column gets set to 0 if this is not set...
|
||||
Component.onCompleted: height = implicitHeight
|
||||
// For some reason the height/width of the column gets set to 0 if this is not set...
|
||||
Component.onCompleted:
|
||||
{
|
||||
height = implicitHeight
|
||||
width = viewSelector.width - 2 * UM.Theme.getSize("default_margin").width
|
||||
}
|
||||
|
||||
Repeater
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user