mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 20:46:01 +08:00
Change scroll policy to AsNeeded
This commit is contained in:
parent
3a3e65224b
commit
838944dc2b
@ -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…
x
Reference in New Issue
Block a user