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 [email protected], "Michael Schmalle"
<[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> >
> >
> > 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: <[email protected] <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
> > > >
> > > >
> > "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%
> > 40yahoogroups.com
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> >
>
>
>> --
> What goes up, does come down.
>
--
What goes up, does come down. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: flex2 final - TextInput focusRounded... Michael Schmalle
- [flexcoders] Re: flex2 final - TextInput focusRounde... bhaq1972
- Re: [flexcoders] Re: flex2 final - TextInput foc... Michael Schmalle
- [flexcoders] Re: flex2 final - TextInput foc... bhaq1972
- Re: [flexcoders] Re: flex2 final - TextI... Michael Schmalle
Reply via email to

