Hello guys,
question on dock panels within gwt
So i want the dockpanel to take up the whole size of the browser window
dockPanel.setSize("100%", "100%");
if this correct
Next Question, i am going to add a north panel , that will be 100px high and take up the whole width of the browser
topPanel.setSize("100%", "100px");
dockPanel.add(topPanel, DockPanel.NORTH);
is this correct, then i want to add a west panel that is 200px wide and the whole length of the browser up to just under the north panel westSideStackPanel.setSize("200px","100%") mainPanel.add(westSideStackPanel,DockPanel.WEST);
i have created all this but when i look at my dockpanel there is a big gap between the west panel and the north panel the whole way accross the screen. why would this be?
The north panel stays at 100px, and then there is a gap of about 100px high the whole width of the screen.