mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 16:48:58 +08:00
Merge remote-tracking branch 'origin/4.0'
This commit is contained in:
commit
6876935359
@ -77,7 +77,12 @@ Item
|
||||
target: UM.Preferences
|
||||
onPreferenceChanged:
|
||||
{
|
||||
customPrintSetup.height = UM.Preferences.getValue("view/settings_list_height");
|
||||
customPrintSetup.height =
|
||||
Math.min
|
||||
(
|
||||
UM.Preferences.getValue("view/settings_list_height"),
|
||||
base.height - (customPrintSetup.mapToItem(null, 0, 0).y + buttonRow.height + UM.Theme.getSize("default_margin").height)
|
||||
);
|
||||
}
|
||||
}
|
||||
visible: currentModeIndex == PrintSetupSelectorContents.Mode.Custom
|
||||
|
Loading…
x
Reference in New Issue
Block a user