aspose file tools
The moose likes GWT and the fly likes GWT Panels and Layouts, looking for an advice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT Panels and Layouts, looking for an advice" Watch "GWT Panels and Layouts, looking for an advice" New topic

GWT Panels and Layouts, looking for an advice

Dagger Dad

Joined: Jul 04, 2012
Posts: 1
Hi guys,
I am not too good at graphical user interfaces so I am looking for some advice.
The think is I have several Panels containing a GridPanel, to be more specific I have 4 of them.

I need to put all of them in a unique Panel but I cannot find any suitable layout. I have tried plenty of them but it does not display correctly. I need them to fill all the width and the height.
I am able to display 3 of them by using BorderLayout (west, center and east) but no way to do it with four.

Thank you.
Jinal Prakas Shah
Ranch Hand

Joined: Jun 20, 2012
Posts: 39
Did you try the Vertical Panel?
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

Normally the DockPanel is used to display Widgets with header and footer (with some more panels in east or west).
The is no restriction as to what can added to header (eg you can add a grid with 3 rows to the header, etc..)

As far as your problem is concerned,
You can either use a vertical panel with width set to 100%
or you can use a Grid with width and height set to 100%

(Be warned that though gwt allows setting height to tables, height is not a standard attribute for TABLE tag in HTML. So... You might have to calculate it based on screen height, etc..)

My Website: [] Cool your mind:[] My Sally:[]
I agree. Here's the link:
subject: GWT Panels and Layouts, looking for an advice