Ensure that width of popup does not get set to 0

CURA-5785
This commit is contained in:
Jaime van Kessel 2018-11-16 17:26:10 +01:00
parent 6b55490af8
commit e3ebf89092

View file

@ -83,8 +83,12 @@ Item
id: viewSelectorPopup id: viewSelectorPopup
width: viewSelector.width - 2 * UM.Theme.getSize("default_margin").width 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... // For some reason the height/width of the column gets set to 0 if this is not set...
Component.onCompleted: height = implicitHeight Component.onCompleted:
{
height = implicitHeight
width = viewSelector.width - 2 * UM.Theme.getSize("default_margin").width
}
Repeater Repeater
{ {