-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Expose padding on RawScrollbar #107756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose padding on RawScrollbar #107756
Conversation
Add to the 'Scrollbar' widget too? |
I am hesitant to do that, since that widget also does not expose margins. It feels like a slippery slope, if you add one, why not the others? The Material scrollbar follows Material Design, and along with the Cupertino one, they are based on the native specifications. We try to avoid enumerating a lot of properties unless they are necessary, it leads to a bloated API. Usually on the lower level Raw* classes is where we have a lot of the lower level fine tuning available. What do you think? |
Make sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Full context: #107172 (comment)
Allows the user to configure padding on the scrollbar thumb & track.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.