-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Buttons and fonts #109
Comments
My solution (in Adafruit_GFX_Button::drawButton):
|
But my solution is just a hint, consider two buttons with labels "bxxx" and "pxxx" :( |
This is probably slightly better:
but the bp problem still remains... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I like to set custom fonts on Adafruit_GFX_Button.
Unfortunately, when custom font is set on the fly, buttons does not respect the text position and size. I think that
shoud be replaced using getTextBounds() code.
The text was updated successfully, but these errors were encountered: