Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

rtk.Button: add support for color attribute #12

Open
jtackaberry opened this issue May 31, 2022 · 0 comments
Open

rtk.Button: add support for color attribute #12

jtackaberry opened this issue May 31, 2022 · 0 comments
Labels
enhancement New feature or request widget Issue specific to rtk.Widget and subclasses

Comments

@jtackaberry
Copy link
Owner

rtk.CheckBox ignores the color attribute from its rtk.Button superclass. This is because the checkbox states are lazy-initialized as images. It would probably be better to simplify checkbox appearance to make it more feasible to render from gfx primitives in _draw(), in which case color is trivially supported.

@jtackaberry jtackaberry added enhancement New feature or request widget Issue specific to rtk.Widget and subclasses labels May 31, 2022
@jtackaberry jtackaberry changed the title Make checkbox color configurable rtk.Button: add support for color attribute May 31, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request widget Issue specific to rtk.Widget and subclasses
Projects
None yet
Development

No branches or pull requests

1 participant