code_junkie

Multi line text in Flex doesnt recalculate when runtime css is changed

Nov 12th, 2011
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <mx:Text id="txtDescription" selectable="false"
  2. styleName="imageRolloverButtonTextDark" width="100%" textAlign="center"
  3. text="{_rolloverText}"/>
  4.  
  5. <mx:Canvas id="box" width="100%" backgroundColor="Red">
  6. <mx:Text width="{box.width}" text="{someReallyLongString}" />
  7. </mx:Canvas>
Add Comment
Please, Sign In to add comment