mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Change scroll policy to AsNeeded
This commit is contained in:
parent
3a3e65224b
commit
838944dc2b
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ ScrollView
|
||||||
property string preferredCategory: "Ultimaker"
|
property string preferredCategory: "Ultimaker"
|
||||||
|
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
|
ScrollBar.vertical.policy: ScrollBar.AsNeeded
|
||||||
|
|
||||||
property int maxItemCountAtOnce: 10 // show at max 10 items at once, otherwise you need to scroll.
|
property int maxItemCountAtOnce: 10 // show at max 10 items at once, otherwise you need to scroll.
|
||||||
height: maxItemCountAtOnce * UM.Theme.getSize("action_button").height
|
height: maxItemCountAtOnce * UM.Theme.getSize("action_button").height
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue