I am having problems with showing my entire SmartGWT Canvas on my initial page. I've stripped everything out and am left with an extremely basic EntryPoint to illustrate my issue. When I just create a Canvas and add it to the root panel, I get a horizontal scrollbar in my browser. Can anyone explain why and what I can do to have the Canvas sized to the width of the window?
Thanks in advance.
public class TestModule implements EntryPoint
{
protected Canvas view = null;
/**
* This is the entry point method.
*/
public void onModuleLoad()
{
view = new Canvas();
view.setWidth100();
view.setHeight100();
view.setShowEdges( true );
RootPanel.get().add( view );
}
}