-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Windows style scrollbars #17
Comments
@miquelbeltran can you discuss the approach you followed? |
@Taosif7 sure! I have three different ideas: Custom themed Material Scrollbar The theming options are a bit limited, I can make the "thumb" square and match the background colors, but that's it, no elevated effect, no top and down buttons, etc. Plus, the scrollbar is rendered on top of the Custom widget The second idea is to have a custom widget that takes a Custom Scrollbar class This approach is taking the source code of the Material Overall, probably the custom widget approach is the way to go. |
Great, I'll explore further on 2nd & 3rd options! |
@miquelbeltran I took the 2nd approach and designed a solution around it. Look at PR (#26). Its works perfectly for now, just a few tiny things that can be improved in future. Also performance looks fine to me, although can be analysed and improved. Once merged, I can create an issue for all the improvements I have in mind. |
Tried to implement this but was too complicated, need to look it up again.
The text was updated successfully, but these errors were encountered: