psychojs icon indicating copy to clipboard operation
psychojs copied to clipboard

Text alignment and bounding box

Open dvbridges opened this issue 5 years ago • 0 comments

It is not simple to align multiple text components of different width / numbers of characters because alignHoriz parameter works within the bounding box, rather than on the bounding box.

The result is misalignment across multiple left-aligned text components

Example https://run.pavlovia.org/dvbridges/textalignment/html/

dvbridges avatar Sep 02 '19 10:09 dvbridges