how to get a Flex text control to word wrap

后端 未结 9 2070
生来不讨喜
生来不讨喜 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:27

    render="invalidateSize();validateNow();
    'component id'.mx_internal::getTextField().wordWrap=true"
    

    add this to your text component.

提交回复
热议问题