mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Ensure that width of popup does not get set to 0
CURA-5785
This commit is contained in:
parent
6b55490af8
commit
e3ebf89092
1 changed files with 6 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue