You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: