PDA

View Full Version : Styling Possibilities



gte619n
22 Feb 2009, 2:24 PM
Hey guys,

Currently, I'm trying to start integrating GXT with our existing GWT application. Getting the components to be functionally correct is no problem and they're all living together nicely. I've begun working with our CSS artist to try to get the GXT "look" to be more like our exisiting application and I've got a couple of questions about what we can do to incorporate it.

The big issue is, Is it possible to have multiple styles for each component. For instance, can I have a "black styled" window with a "yellow styled" window and a "red colored" popup? The idea would be to create a ContentPanel and do a .setStyle( "yellowWindow" ) then be able to do a .setStyle( "redWindow" ). Is that possible?

I know that I can do the "theme" stuff, but I'm not sure if it's possible to mix those.

Thanks for your help!

Evan

gte619n
26 Feb 2009, 12:41 PM
Hey guys,

I did some searching on the forums and really couldn't find an answer. Does anyone have experience trying to mix the styles/themes?

Thanks,

E