Skip to content
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

Make FlatScrollBar stylable #16

Closed
fipro78 opened this issue Jan 20, 2015 · 4 comments
Closed

Make FlatScrollBar stylable #16

fipro78 opened this issue Jan 20, 2015 · 4 comments

Comments

@fipro78
Copy link

fipro78 commented Jan 20, 2015

Currently it is not possible to style the FlatScrollBar. It would be at least nice to set the background color (increment region) and the color of the thumb.

@fappel
Copy link
Owner

fappel commented Jan 21, 2015

That's true. Styling is of course a missing feature. I was thinking about a style object containing the possible capabilities of the bar. But I haven't made up my mind completely yet..

@fipro78
Copy link
Author

fipro78 commented Jan 21, 2015

As a quick solution you could add two setters for the background color of the increment region and the color of the thumb. As these the only two stylable components on the first look, it would help in attaching the FlatScrollBar to a dark themed table for example.
Via such setters it would also be possible to add CSS styling capabilities.
An enhancement for a style object could still be added when you have made up your mind. :)

@fappel fappel closed this as completed in 213588c Jan 24, 2015
@jbuchberger
Copy link
Contributor

Great stuff! Is it possible to add styling for increment button length as well?
Maybe like this:

flat-scroll-bar-button-length: 7;

@fappel
Copy link
Owner

fappel commented Nov 19, 2015

Yes, I think this should be possible. I've opened the enhancement issue #46 for discussion and progress tracking on that topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants