mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 06:28:59 +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
|
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
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user