Fix drop down not dynamically resizing width

CURA-9514
This commit is contained in:
joeydelarago 2022-08-23 15:56:50 +02:00
parent 035fb27ab0
commit e541890c07

View file

@ -192,7 +192,7 @@ Cura.ExpandablePopup
contentItem: Item
{
id: popup
implicitWidth: UM.Theme.getSize("machine_selector_widget_content").width
implicitWidth: machineSelector.width
implicitHeight: Math.min(machineSelectorList.contentHeight + separator.height + buttonRow.height, UM.Theme.getSize("machine_selector_widget_content").height) //Maximum height is the theme entry.
MachineSelectorList
{