Word wrapping cannot be easily calculated in the flex sizing rules, so we don't implement it. Think about it, what should the measured width and height of the radiobutton be if the label wordwraps?
Measuring things with textflow only works when one dimension (usually the width) is constrained. Flex components don't require that. Our Text component just makes a guess and it is usually wrong until you constrain its width. There's an example on my blog (http://blogs.adobe.com/aharui/2007/04/multiline_buttons.html) of wordwrapping buttons, but in order to use them you have to lock in a width. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, September 29, 2007 10:38 PM To: [email protected] Subject: [flexcoders] radiobutton label and wordwrap I'm using text next to a radio button and the mx:controls for the label of a radiobutton don't have wordwrap- the text just disappears stage right. Why not allow the option to allow text to wrap ? Is my only solution to not use the radiobutton label and try to put a text control next to the label instead ? red

