Skip to content

Meter.cpp Incorrect text placement #18

Description

@nottledim

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions