Implement ScrollBarPolicy property for ScrollView (#6442)

ChangeLog: ScrollView: added  vertical-bar-policy and horizontal-bar-policy

Fixes: #3552
Fixes: #5578
This commit is contained in:
Renato Araujo Oliveira Filho 2024-10-08 12:02:17 -03:00 committed by GitHub
parent 3784780e22
commit 1e4de3fe0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 125 additions and 42 deletions

View file

@ -17,6 +17,7 @@ using for loops may be added in the future and is tracked in issue #407.
- **`viewport-width`** and **`viewport-height`** (_in-out_ _length_): The `width` and `length` properties of the viewport
- **`viewport-x`** and **`viewport-y`** (_in-out_ _length_): The `x` and `y` properties of the viewport. Usually these are negative
- **`visible-width`** and **`visible-height`** (_out_ _length_): The size of the visible area of the ScrollView (not including the scrollbar)
- **`vertical-bar-policy`** and **`horizontal-bar-policy`** (_in_ _ScrollBarPolicy_): The vertical and horizontal scroll bar visibility policy. The default value is `ScrollBarPolicy.as-needed`.
### Callbacks