pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill van Melle <bill.van.me...@gmail.com>
Subject Re: [jira] [Commented] (PIVOT-798) Component#isEnabled does not affect appearance recursively
Date Wed, 12 Oct 2011 02:32:57 GMT
On Mon, Oct 10, 2011 at 11:01 PM, Greg Brown <gk_brown@verizon.net> wrote:

> Did you try applying a decorator to your container? For example,
> ShadeDecorator might work.
>

Thanks, that's not too bad.  It took me a while to figure out I could simply
override the skin's enabledChanged method to add or remove the decorator,
but now I'm good.  A pale gray ShadeDecorator (I picked rgb=220, opacity=.5)
does a passable job of faking the disabled look.  It's not nearly as pretty
as the component painting the disabled look itself, mostly because it also
shades the background, but I think it will do for now.  Looking forward to
getting a better fix later.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message