Hi,

i have some checkboxes which are enabled/disabled depending on the
business logic. When the CheckBox is disabled it has a white
background on IE6/7. Setting the background-color doesn't have any
effects.

I looked at the code and saw that the CheckBox is a combined Widget
containing an inputElement and an outputElement.

I tried different things to set the background-color on IE but nothing
helped.

The input element has an id, but i'm not able to get this id. When
calling getElement().getId() on the Checkbox, the combined element is
returned and not the parts.

So, what can i do?

Currently i copied the whole code of CheckBox and added an
getInputElement() and a getLabelElement() method.

Now i can get the parts and set the style on the id.

But i don't like this solution.

Any other ideas?

ThanX
Oliver
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to