Browse Source

Give the default settings pannel a max-height

CURA-9793
c.lamboo 2 years ago
parent
commit
f6d18266e6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml

+ 2 - 1
resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml

@@ -69,7 +69,8 @@ Item
             visible: currentModeIndex == PrintSetupSelectorContents.Mode.Recommended
             height: {
                 const height = base.height - (customPrintSetup.mapToItem(null, 0, 0).y + buttonRow.height + UM.Theme.getSize("default_margin").height);
-                return Math.min(implicitHeight, height);
+                const maxHeight = UM.Preferences.getValue("view/settings_list_height");
+                return Math.min(implicitHeight, height, maxHeight);
             }
 
             function onModeChanged()