1

I am using a TFT Touch screen on an Arduino Mega, with UTFT and UTouch libraries. When I use the code below, the text is aligning to right, all the way to the edge of the screen. Is it possible to give it a margin?

tft.print("Text", RIGHT,12)

Thank you, Andi

2
  • 1
    tft.print("Text ", RIGHT,12) Commented Apr 18, 2020 at 21:33
  • That's interesting workaround. I realise now that I didn't think my question through, because I will also need it with integers. Is there a similar workaround I can do with those? Commented Apr 23, 2020 at 19:53

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.