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

Allow user to control how items in a checkbox menu are rendered #138

Open
lenormf opened this issue Jul 19, 2021 · 0 comments
Open

Allow user to control how items in a checkbox menu are rendered #138

lenormf opened this issue Jul 19, 2021 · 0 comments
Labels
Feature Request Add for a new feature request

Comments

@lenormf
Copy link

lenormf commented Jul 19, 2021

Is your feature request related to a problem? Please describe.
If a user doesn't want to render items in a checkbox menu as [?] - …, they have to override the entire _draw method in CheckBoxMenu.

Describe the solution you'd like
Maybe passing a format string to the CheckBoxMenu constructor that allows controlling colours, weight, characters etc. or a callback that should call a wrapper to _renderer.draw_text() directly.

@lenormf lenormf added the Feature Request Add for a new feature request label Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Add for a new feature request
Projects
None yet
Development

No branches or pull requests

1 participant