Using Firefox 3.6.6 and SmartGWT version 2.2, I can set the headerStyle on a Window widget and the background-color property in the corresponding css style will be applied to the window header bar, but the text won't correspond with the "color" property. I suspect it may have to do with the text being a Label object or something that doesn't actually inherit its styling from the general "color" property, but rather has its own style information?
The code would look like:
Window window = new Window();
window.setHeaderStyle("formattedWindowHeader");
And in "my.css":
.formattedWindowHeader{
background-color: red;
color: #FFFFFF;
}
This results in a window with a bright red header bar as expected, but dark text (rather than white as it should be). Help!
The code would look like:
Window window = new Window();
window.setHeaderStyle("formattedWindowHeader");
And in "my.css":
.formattedWindowHeader{
background-color: red;
color: #FFFFFF;
}
This results in a window with a bright red header bar as expected, but dark text (rather than white as it should be). Help!
Comment