-
Notifications
You must be signed in to change notification settings - Fork 43
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
Change Color Selected Item #49
Comments
So the first question, at the moment the library does not give the ability to do this, though you could code it in to the renderer without too much trouble. Basically, you could add a new attribute like The reason I haven't gotten this implemented yet is because I want to think about how to make it work reliably side-by-side with the current color rule system, though I haven't quite decided the best way to do it. I am planning to add that in one of the new versions though. For the second question, someone had already suggested that, and the ability to add objects to menus will be included in |
So for the second question I'll wait next release, but for the first one can you provide me some more tips? I'm trying to extend the By the way why can I change color to status_bar (public) and not to title_bar (private) ? |
Yeah thats what I would do. Just extend the
You may need some extra logic to handle cases where you have a selected item you want to color that collides with a color rule, but what that could be I'm not sure. As for the second point, good catch, the title bar attribute should be public, that will be changed in the next release as well. |
Hi!
how can i change the color of a selected line in a
scroll_menu
?(and in general of a particular part of a widget? )
Bold is not enough, What I have to do if I want to use reverse colors GREEN_ON_BLACK and BLACK_ON_GREEN for example.
Can I add an object to the
scroll_menu
and use maybe__str__
for rendering, so to have a selected object and not a stringget()
or an intget_selected_item()
?thanks a lot
The text was updated successfully, but these errors were encountered: