Page 1 of 1

Label max-width text wrapping

Posted: Mon Nov 07, 2016 10:10 am
by Articulating
Currently it seems to me like label.style.maximal_width doesn't have an effect on labels. It would be preferable if this instead made the text wrap after the specified value, which would be very useful in a variety of circumstances involving showing text to the player. If I'm missing something obvious then I apologise, but I haven't found a way to do this even after asking in multiple places.

Re: Label max-width text wrapping

Posted: Mon Nov 07, 2016 10:43 am
by Rseding91
The wrapping/text layout system that the library we're using uses is just broken and barely works for what we use it for.

There are plans to rework it for 0.15 so until then it's not really possible to make the text field work nicely with multi-line or wrapping without a ton of hacks.

Re: Label max-width text wrappin

Posted: Mon Nov 07, 2016 11:30 am
by Articulating
Alright, good to know it will be solved at some point, until then I'll have to use horizontal scrolling :?