PDA

View Full Version : why my gxt panel no EXT style?



dolang
3 Jun 2009, 9:15 PM
I use gxt2.0-m2,gwt-1.6.4,use ContentPanel and button,but no ext style,why?

java code:
public void onModuleLoad() {
// TODO Auto-generated method stub
Button btn = new Button("click me");
Viewport vp = new Viewport();
vp.setLayout(new BorderLayout());
ContentPanel cp = new ContentPanel();
cp.getHeader().setText("this is panel");
cp.add(btn);
vp.add(cp);
RootPanel.get().add(vp);
}

Animal
3 Jun 2009, 11:22 PM
Nobody here will know.

This is not the GXT forum.