Modify small UI things in the Add Printer dialog

This commit is contained in:
Diego Prado Gesto 2019-05-01 15:50:43 +02:00
parent 8d6136bcf3
commit 32c8bbfb3c
4 changed files with 7 additions and 11 deletions

View file

@ -56,7 +56,7 @@ Item
ScrollBar.vertical.policy: ScrollBar.AsNeeded
property int maxItemCountAtOnce: 8 // show at max 8 items at once, otherwise you need to scroll.
height: maxItemCountAtOnce * UM.Theme.getSize("action_button").height
height: Math.min(contentHeight, maxItemCountAtOnce * UM.Theme.getSize("action_button").height)
visible: networkPrinterListView.count > 0