Have you tried disabledColor or disabledSkin?

HTH,
Sefi

On Wed, Mar 11, 2009 at 10:06 AM, ettorepasquini
<[email protected]>wrote:

>   in my application i need to disable comboboxes (enabled = false) and
> change the look of the disabled combo to make it more opaque. Basically I
> want the disabled combo to look a little closer to the enabled combo look.
> Easy right?
>
> Wrong. I am able to change every styling info (color, background,
> gradients, etc) EXCEPT the overall alpha mask of the component, which makes
> the 0x0 black look like gray.
>
> I tried many approaches:
> - combo.alpha = 1;
> - combo.setStyle("backgroundAlpha", 1.0);
> - combo.setStyle("fillAlphas", [1.0, 1.0]);
> - applied my own skin class modified from ComboBoxArrowSkin and modified
> updateDisplayList to set fillAlphas to [1,1]
>
> No changes whatsoever: someone is imposing a default alpha but I cannot
> figure where the hell that happens and/or out how to override that.
>
> Any insights? Am I missing the obvious? Thanks in advance.
>
>  
>

Reply via email to