From f6d18266e61ae08a29fd5e5003acfbf4a09fb660 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Thu, 15 Dec 2022 13:37:28 +0100 Subject: [PATCH] Give the default settings pannel a max-height CURA-9793 --- .../qml/PrintSetupSelector/PrintSetupSelectorContents.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml b/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml index 52a22c6c76..05407e6e0e 100644 --- a/resources/qml/PrintSetupSelector/PrintSetupSelectorContents.qml +++ b/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()