content in listbox exceed the width

192 Views Asked by At

I have a listbox with a bunch of different strings, added by a button. Some of these strings are too long for the listbox, so the end of the strings exceed the width of the listbox. Now, I know I could just make the listbox longer, but that seems too easy.

There must be a function that somehow breaks the string at an appropriate length so that I can see the whole string in the listbox, but now, for example, at two rows, instead of one.

0

There are 0 best solutions below