Vertical Alignment with playdate.graphics.drawTextInRect

I would love to use playdate.graphics.drawTextInRect to align vertically instead of just horizontally because currently to properly align vertically you have to write your own vertical positioning and resizing code.

EDIT: It is especially hard do to text wrapping

2 Likes

great idea! I've got that filed, will hopefully get it added soon

3 Likes

+1 for this! I had to write my own implementation, but I'd love to see it included in the SDK :slight_smile:

1 Like

Yeah, I also ended up writing my own implementation, but it would completely break if the text got too big to fit in the box...