Query ScrollView scrollbar width or automatic padding #7707
Labels
a:widgets
Implementation of widgets (from std-widgets.slint) and their styles (mF,bS)
enhancement
New feature or request
need triaging
Issue that the owner of the area still need to triage
Feature Description
I have a feature request for
ScrollView
s to pad the content such that the scrollbar does not obscure it.At the moment, I see 3 different styles of scrollbars:
Scrollbar next to the content (Material Dark):
Scrollbar above the content (Cupertino Dark):
Semi-transparent scrollbar (Fluent Dark):
While Material Dark nicely pads the content so that the scrollbar does not obscure it, the other two themes have a scrollbar that fully or partially obscures content in the scrollbar's place. I've tried manually padding the content, however, the width of the scrollbar varies by theme so hardcoding a padding is not an option.
Would it be possible to include padding in the design of the
ScrollView
themes, or to allow for querying the width of the theme's scrollbar? Is this perhaps already available and I just don't know about it?Thanks!
Product Impact
No response
The text was updated successfully, but these errors were encountered: