mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
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:
parent
3784780e22
commit
1e4de3fe0c
11 changed files with 125 additions and 42 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue