css - changing fill colors when combo box is disabled -
i've been stuck on problem few days. solution seems simple, haven't found 1 yet.
i'm working flex 3, , i'm trying change color of combobox when disabled lighter. current css this:
combobox { color:#000000; fillaphas: 1, .5, .55, .35; fillcolors: #ffffff, #cccccc, #999999, #666666; fontweight: normal; backgroundalpha: 1; fontsize:11; } the problem when use backgrounddisabledcolor property, enabled disabled combo boxes altered new color. there way set disabled fill color property, or somehow turn off fill colors when combo box disabled? thanks.
** seeing not change fill colors disabled combobox directly css property, , flex 3 not css attribute selectors, added property link skin when disabled , made combobox skin lighter colors. seemed best option. thank help.
did try setting disabledcolor style?
i pretty sure component disabled, visually, drawing semi transparent graphic on top of it. i'm not sure i'd recommend trying change background color in order visually communicate "disabled".
changing universal "combobox" style change comboboxes. but, create named style:
.disabledcombostyle { color:#000000; fillaphas: 1, .5, .55, .35; fillcolors: #ffffff, #cccccc, #999999, #666666; fontweight: normal; backgroundalpha: 1; fontsize:11; } and specify on disabled component using stylename style:
<mx:combobox stylename = "disabledcombostyle" /> however, style computations known performance heavy operation, i'm not sure i'd recommend switching styles lot.
Comments
Post a Comment