how to get a Flex text control to word wrap

后端 未结 9 2047
生来不讨喜
生来不讨喜 2020-12-29 02:50

I\'m creating an Adobe Flex application and I have a Text control (mx:Text), which is supposedly used when you need multiline noneditable text (as opposed to a Label, which

9条回答
  •  粉色の甜心
    2020-12-29 03:06

    You could try adding an event handler to the parent node for Event.RESIZE, and call the Text object's validateNow() method. (Perhaps preceded by an invalidateSize() call.) Why doesn't this happen automatically I cannot tell.

提交回复
热议问题