Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeydelarago <joeydelarago@gmail.com>2022-08-24 11:06:03 +0300
committerjoeydelarago <joeydelarago@gmail.com>2022-08-24 11:06:03 +0300
commit721f63b0d1b920b0363bf694d708de8fc0ae053d (patch)
tree20f852a6c6572a984861db53f58b102aa6f0d79c /resources
parenteea89357419ac12839d62ed8cb9bee4b570b3d40 (diff)
Give machine selector minimum width so it displays correctly on smaller screens.
CURA-9514
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/PrinterSelector/MachineSelector.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/PrinterSelector/MachineSelector.qml b/resources/qml/PrinterSelector/MachineSelector.qml
index 8c5ed98887..869d536a00 100644
--- a/resources/qml/PrinterSelector/MachineSelector.qml
+++ b/resources/qml/PrinterSelector/MachineSelector.qml
@@ -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
{