mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-03 03:54:01 -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
|
visible: currentModeIndex == PrintSetupSelectorContents.Mode.Recommended
|
||||||
height: {
|
height: {
|
||||||
const height = base.height - (customPrintSetup.mapToItem(null, 0, 0).y + buttonRow.height + UM.Theme.getSize("default_margin").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()
|
function onModeChanged()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue