8000 Set label scale · Issue #41 · adafruit/Adafruit_CircuitPython_Display_Button · GitHub
[go: up one dir, main page]

Skip to content

Set label scale #41

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

Closed
lcmcninch opened this issue Nov 30, 2023 · 1 comment
Closed

Set label scale #41

lcmcninch opened this issue Nov 30, 2023 · 1 comment

Comments

@lcmcninch
Copy link

It looks like there isn't a way to set the font size of the button label. The Label object itself is stored as a "protected" member of the button object so you can hack it by setting _label.scale but that isn't ideal.

Assuming I'm not overlooking something obvious, I was thinking I could contribute a small enhancement that would provide either a set_label_scale method or a scale property. Possibly the same for the "selected label".

Any thoughts? Am I missing something obvious? If not, does that sound like it would be a good addition?

@lcmcninch
Copy link
Author

This issue was addressed in #42

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
0