multi line drawAlignedText?
-
I'm trying to draw multiple lines of text onto a panel. Is there a way I can define an area and then have it automatically wrap like a label with multiline enabled?
My reason for doing this is labels seem to have a bug/feature where it changes the text size and letter spacing in an attempt to smush the text to fit in the label size. It's very strange and looks really ugly. Drawing text on a panel avoids this but I can't figure out how to make it do multi line text in a defined area.
-
@whoopsydoodle There's a function for this, I'm not at my computer right now but it's something like drawMultilineText
-
@d-healey thank you!
yep drawMultiLineText works.