Make add printer dialog resize-aware

This commit is contained in:
fieldOfView 2020-05-29 17:22:46 +02:00
parent 7c8c1838e0
commit cb73cfb0f3
3 changed files with 9 additions and 2 deletions

View file

@ -108,6 +108,12 @@ Item
AddLocalPrinterScrollView
{
id: localPrinterView
property int childrenHeight: backButton.y - addLocalPrinterDropDown.y - UM.Theme.getSize("expandable_component_content_header").height - UM.Theme.getSize("default_margin").height
onChildrenHeightChanged:
{
addLocalPrinterDropDown.children[1].height = childrenHeight
}
}
}
}