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

  • 1
    `tft.print("Text ", RIGHT,12)` – Majenko Apr 18 '20 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? – Andi Stancu Apr 23 '20 at 19:53

0 Answers0