Weird. Shou;d work. Are you using 2.0.1 hotfix 2? -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, September 30, 2007 1:04 AM To: [email protected] Subject: Re: [flexcoders] radiobutton label and wordwrap
I tried this example and the Multiline RadioButton.as is giving me 1020: Method marked override must override another method. 3 times, one for each of the over rides. Method marked override must override another method. What does that mean ? Alex Harui wrote: > > 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 > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links

