added mouse-drag property to ScrollView (#8512)

Closes #2260
This commit is contained in:
Avery Townsend 2025-05-26 16:22:57 -04:00 committed by GitHub
parent ed8089e43b
commit f7fa27b9b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 13 additions and 0 deletions

View file

@ -43,6 +43,11 @@ using for loops may be added in the future and is tracked in issue #407.
Used to render the frame as disabled or enabled, but doesn't change behavior of the widget.
</SlintProperty>
### mouse-drag
<SlintProperty propName="mouse-drag" typeName="bool" defaultValue="true for Material style, false for all others" propertyVisibility="in">
When true, the view can be scrolled by dragging with the mouse.
</SlintProperty>
### has-focus
<SlintProperty propName="has-focus" typeName="bool" defaultValue="false" propertyVisibility="in-out">
Used to render the frame as focused or unfocused, but doesn't change the behavior of the widget.