jeudi 1 septembre 2016

Strange alignment with Canvas.DrawText

I noticed a strange alignment of Canvas.DrawText when &CRLF& is inserted in the text string and "CENTER" is used for alignment. The largest segment of text is centered but the one or two shorter segments are left justified in alignment with the left most character of the centered segment. I don't think CRLF is recognized in B4A Canvas.DrawText, so this is an improvement. I also tested using TextView with carriage returns after each line of text. The carriage returns were recognized in...

Strange alignment with Canvas.DrawText

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bWB8Xr
via IFTTT

Aucun commentaire:

Enregistrer un commentaire