fix ScrollBarType

This commit is contained in:
Cyril Anisimov 2024-12-22 16:28:13 +01:00
parent 0cdd2ff826
commit 8767f487b8

View file

@ -7,5 +7,5 @@ import "../Controls2"
ScrollBar { ScrollBar {
id: root id: root
policy: ScrollBar.AlwaysOn policy: parent.height >= parent.contentHeight ? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
} }