Mike, Adam A textinput can have rounded corners try this.
<mx:TextInput cornerRadius="10" borderStyle="solid"/> without the borderStyle set to solid it doesn't work. .....but i'll still need to use your (Mike) 'quick/right fix' for my issue. thanks bod --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > BTW, > > The 'right fix' is to create yourself a new border class that does this and > controls all rounded corners. > > The 'quick fix' is to put the TextInput in a Box. > > Peace, Mike > > On 9/6/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > thanks for the clarification. > > > > --- In flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com>, "Michael > > Schmalle" > > > > <teoti.graphix@> wrote: > > > > > > > I think there is a bug which prevents the TextField from having > > > "roundedCorners". > > > > > > There is no bug, the HaloBorder specifications do not allow a > > TextInput to > > > have rounded corners. > > > > > > The only styles it allows are none, solid, inset. > > > > > > And in those render methods, it only calls > > > > > > draw3dBorder() which does not implement rounded corners. > > > > > > This is an enhancement not a bug issue. > > > > > > Peace, Mike > > > > > > On 9/6/06, bhaq1972 <mbhaque@> wrote: > > > > > > > > thanks for the advice. it does look like a bug. > > > > > > > > your suggestion nearly works for me except i dont want all the > > > > corners to be rounded (only the right hand side) > > > > > > > > focusRoundedCorners="tr br" has the right idea but whats the > > point > > > > if it doesn't match the shape of the textinput/textarea > > > > > > > > try this > > > > <mx:TextArea cornerRadius="10" focusRoundedCorners="tr br" > > > > height="22" /> > > > > > > > > or > > > > > > > > <mx:TextInput cornerRadius="10" focusRoundedCorners="tr br"/> > > > > > > > > regrds > > > > bod > > > > > > > > > > > > --- In flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com><flexcoders% > > 40yahoogroups.com>, "Adam > > > > > > Royle" <adam@> wrote: > > > > > > > > > > I experienced the same issue. I think there is a bug which > > > > prevents the > > > > > TextField from having "roundedCorners". You can, however, use > > (or > > > > extend) > > > > > TextArea and make the height 22 pixels (and prevent newlines > > being > > > > created, > > > > > etc), however I'm not sure any flex purists would encourage > > > > that... maybe > > > > > just wait until the bug is fixed and use external CSS to style > > the > > > > elements. > > > > > > > > > > BTW, not sure if anyone has filed it as a bug or not. > > > > > > > > > > Cheers, > > > > > Adam > > > > > ----- Original Message ----- > > > > > From: "bhaq1972" <mbhaque@> > > > > > To: <flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com><flexcoders%40yahoogroups.com>> > > > > > Sent: Tuesday, September 05, 2006 11:59 PM > > > > > Subject: [flexcoders] Re: flex2 final - TextInput > > > > focusRoundedCorners > > > > > > > > > > > > > > > >i think i need to rephrase my question > > > > > > how can i create a textinput where the bottom -right and top- > > > > right > > > > > > corners are rounded > > > > > > thanks > > > > > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com><flexcoders% > > 40yahoogroups.com>, > > > > > > "bhaq1972" <mbhaque@> wrote: > > > > > >> > > > > > >> How do i apply the focusRoundedCorners effect during normal > > > > display > > > > > >> (and not just when i'm focusing on the textinput) > > > > > >> > > > > > >> <mx:TextInput text="0123" cornerRadius="10" > > > > focusRoundedCorners="tr > > > > > >> br"/> > > > > > >> > > > > > >> any ideas? > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Flexcoders Mailing List > > > > > > FAQ: > > > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > > > > > Search Archives: http://www.mail-archive.com/flexcoders% <http://www.mail-archive.com/flexcoders%25> > > <http://www.mail-archive.com/flexcoders%25> > > > > > > 40yahoogroups.com > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > What goes up, does come down. > > > > > > > > > > > > > -- > What goes up, does come down. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/