how to get a Flex text control to word wrap

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

    I think applying VBox width = "100%" and Text width = "100%" is the simplest way. Note: if Text is dynamically generated, don't forget to do text.percentWidth = 100

提交回复
热议问题