I have the following basic layout:
The top strip is used to keep a menu bar, a search bar and and icon menu, the main frame consists of 5 grids, and the bottom widget is a horizontal layout. In poor ASCII it looks something like this (the left-most grid is a tree grid, the rest are list grids):
My problem is that my layout sometimes grows just a little larger than the browser viewport, causing scrollbars to pop up. Am I doing something obviously wrong, or is there some setting I need to get right in order for this not to happen?
I'm running the latest smartgwt jar, java 6 on a windows 7 machine in Firefox and Chrome.
Grateful for any help or ideas.
Code:
public MainPanel()
{
SectionStackSection topStrip = new SectionStackSection();
topStrip.setItems(ComponentFactory.create(Module.MENU));
topStrip.setExpanded(true);
topStrip.setCanCollapse(false);
topStrip.setShowHeader(false);
SectionStackSection mainView = new SectionStackSection();
mainView.setItems(ComponentFactory.create(Module.MAIN));
mainView.setExpanded(true);
mainView.setCanCollapse(false);
mainView.setShowHeader(false);
SectionStackSection widgets = new SectionStackSection();
widgets.setItems(ComponentFactory.create(Module.WIDGETS));
widgets.setExpanded(false);
this.setSections(topStrip, mainView, widgets);
this.setVisibilityMode(VisibilityMode.MULTIPLE);
this.setWidth100();
this.setHeight100();
}
Code:
---------------------------------------
Menu
---------------------------------------
| |
| |
| |
| |-------------------
| | |
| | |
| | |
| | |
---------------------------------------
Widget section stack
---------------------------------------
I'm running the latest smartgwt jar, java 6 on a windows 7 machine in Firefox and Chrome.
Grateful for any help or ideas.
Comment