FlexTip: WordWrap for mx:Text
Štvrtok, August 28th, 2008Table of contents for flex-tips
- FlexTips
- FlexTip: mx:Text vs. mx:TextArea
- FlexTip: XMLSocket connect() after disconnect from server
- FlexTip: Problem with masks and scalable Flash
- FlexTips: How to add Bitmap to UIComponent
- FlexTip – Stop displaying Focus
- FlexTip: Preventing CheckBox selection with Key.SPACE
- FlexTip: WordWrap for mx:Text
- FlexTip: Add Thumbs to Mx:Slider programatically
- AS3 Conditional Breakpoint – enterDebugger()
Maybe it is easy, maybe not, but I do not think it’s straitforward and logical. If you want to set word wrapping for mx:Text you have to set width. If you did not do this, whole text will be in 1 row and not whole text can be visible. So just set width to fix value or percentage value to use word wrapping feature.
Why I don’t think that it’s not logical? Because when you did not set width to mx:Text it’s in 1 row, but just resize app, and now it’s wordwrapped. So it seems it’s problem only in initialization phase. I think it should work same in all ocassions. That’s just my 2 cents
No Comments Yet
You can be the first to comment!
Sorry, comments for this entry are closed at this time.