Give machine selector minimum width so it displays correctly on smaller screens.

CURA-9514
This commit is contained in:
joeydelarago 2022-08-24 10:06:03 +02:00
parent eea8935741
commit 721f63b0d1

View File

@ -192,7 +192,7 @@ Cura.ExpandablePopup
contentItem: Item
{
id: popup
implicitWidth: machineSelector.width
implicitWidth: Math.max(machineSelector.width, UM.Theme.getSize("machine_selector_widget_content").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
{