Computed values make sense, I'll just have to poke around inside and see how to best make use of it :)
Thanks for the info. On Mon, Mar 3, 2008 at 5:20 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > If you don't like what you see right now, you'll have to provide a > skin, or subclass ButtonSkin or swap it out for your own code. > > > > The Button's disabled state is derived from the up state by tweaking some > colors and the fillAlphas. You can always set a different styleName based > on the enabled state. > > > > You can also file an enhancement request, but basically this is they way > it is for now until we do more CSS selector implementations in some future > version of Flex. Otherwise we'd have a disabled version of every style and > that would get out of hand. > > > ------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Sunday, March 02, 2008 11:11 PM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Styles for disabled components? > > > > Seriously, I have to create a new skin? Doesn't that render stylesheets > rather impotent? > > On Mon, Mar 3, 2008 at 4:32 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > > For buttons, you should supply a disabledSkin, and set the appropriate > disabledColor. > > > ------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Josh McDonald > *Sent:* Sunday, March 02, 2008 6:37 PM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] Styles for disabled components? > > > > Hi Guys, > > I've noticed that now I have styled various components (buttons etc), they > look kinda stupid when enabled=false. Is there some sort of implied > styleName, or a funky attribute selector you can use in the stylesheets that > I don't know about? > > Cheers, > -Josh > > -- > "Therefore, send not to know For whom the bell tolls, It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > > > > > -- > "Therefore, send not to know For whom the bell tolls, It tolls for thee." > > :: Josh 'G-Funk' McDonald > :: 0437 221 380 :: [EMAIL PROTECTED] > > -- "Therefore, send not to know For whom the bell tolls, It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]