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

Meter.cpp Incorrect text placement #18

Open
nottledim opened this issue May 12, 2024 · 0 comments
Open

Meter.cpp Incorrect text placement #18

nottledim opened this issue May 12, 2024 · 0 comments

Comments

@nottledim
Copy link

Using the git version of the TFT_eWidget library, as distinct from the Arduino release: The units, known as mlabel in the code, is vertically positioned incorrectly on the right side of the display. Its font baseline is too high compared to the value placement on the left side.

It took me a while to see what was wrong but I think it's due to the font datum being incorrect. If I set TC_DATUM before drawing the mlabel string (in MeterWidget::analogMeter) it positions correctly as far as I can tell.

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