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

Needed: ability to change tooltip and scrollbar colors, listbox custom renderer #663

Open
ErrorFlynn opened this issue Jun 25, 2022 · 0 comments

Comments

@ErrorFlynn
Copy link
Contributor

ErrorFlynn commented Jun 25, 2022

The library does a good job to provide a mechanism for customizing widget appearance, with the various custom renderers, and the scheme object that each widget has.

Unfortunately, that's currently incomplete due to a few omissions. Most importantly, there's no way to change the colors of tooltips and scrollbars. I have created an interface that responds to the system color theme (dark/light), and I was forced to use an ugly hack in scroll.cpp to make scrollbars use dark or light colors, depending on the parent's bgcolor. And I gave up trying to change to colors of tooltips. The library should provide a mechanism for changing scrollbar and tooltip colors (maybe a global scheme object for each, for example).

Also, another issue is the lack of a custom renderer for the listbox. My interface uses a custom renderer for comboxes in dark mode, but I can't do that for listboxes, which results in an inconsistent look (I had to use an ugly hack in listbox.cpp as a workaround).

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

1 participant