t-timmy
12 Nov 2009, 7:07 AM
Hi,
I'm new to ext-gwt.
I've installed 2.0.1 (Eclipse Galileo, Google Plugin, GWT 1.7), as instructed in the directions.
I have the images and css folders under the war folder, and the gxt.jar in the project classpath.
However, when I use Button or SplitButton in a simple onModuleLoad, all I get are these buttons that look like labels - plain black on white. The SplitButton doesn't even have the arrow for a dropdown menu.
I want my buttons to look like http://www.extjs.com/examples/explorer.html#buttons
Can anyone help?
public void onModuleLoad()
{
FlowPanel fp = new FlowPanel();
com.extjs.gxt.ui.client.widget.button.Button b = new com.extjs.gxt.ui.client.widget.button.Button("hello");
b.setBorders(true);
fp.add(b);
RootPanel.get().add(fp);
}
I'm new to ext-gwt.
I've installed 2.0.1 (Eclipse Galileo, Google Plugin, GWT 1.7), as instructed in the directions.
I have the images and css folders under the war folder, and the gxt.jar in the project classpath.
However, when I use Button or SplitButton in a simple onModuleLoad, all I get are these buttons that look like labels - plain black on white. The SplitButton doesn't even have the arrow for a dropdown menu.
I want my buttons to look like http://www.extjs.com/examples/explorer.html#buttons
Can anyone help?
public void onModuleLoad()
{
FlowPanel fp = new FlowPanel();
com.extjs.gxt.ui.client.widget.button.Button b = new com.extjs.gxt.ui.client.widget.button.Button("hello");
b.setBorders(true);
fp.add(b);
RootPanel.get().add(fp);
}