Kukanani
18-03-2011 14:46:06
Hello,
I am trying to display long strings on a Button. Is there a way to set a WordWrap attribute for a button so that the text will not be cut off at the ends? I already tried setting a "WordWrap" attribute in XML, but MyGUI doesn't recognize it.
If not, can anyone think of a good way to wrap the text myself? Maybe replace spaces with \n?
I am trying to display long strings on a Button. Is there a way to set a WordWrap attribute for a button so that the text will not be cut off at the ends? I already tried setting a "WordWrap" attribute in XML, but MyGUI doesn't recognize it.
If not, can anyone think of a good way to wrap the text myself? Maybe replace spaces with \n?