mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Give the default settings pannel a max-height
CURA-9793
This commit is contained in:
parent
eab43f038a
commit
f6d18266e6
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue