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
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