PDA

View Full Version : setStylePrimaryName work in EXT GWT?



Payam
29 Jun 2008, 12:03 PM
I know in the GWT tutorials, they teach how to use setStylePrimaryName
however, no matter what I do it won't work with EXT GWT.

Eg.


panel.setStylePrimaryName("ggn-root");
panel.addStyleDependentName("header");


I have to do it another way instead.


panel.setStyleName("ggn-root");
panel.addStyleName("ggn-root-header");


I guess to me it does not really matter, both seem just as compact.
However, it confused me for a while :(
Might help someone else ;)

darrellmeyer
30 Jun 2008, 1:42 PM
GXT does not use the "primary style" concept from GWT.