Make recommended mode-window scrollable

CURA-9793
This commit is contained in:
c.lamboo 2022-12-13 17:05:51 +01:00
parent 83603ec8fa
commit 2c7bd7883a
2 changed files with 21 additions and 10 deletions

View file

@ -67,6 +67,10 @@ Item
top: parent.top
}
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);
}
function onModeChanged()
{