I would use a HeaderPanel. HeaderPanel provides header and footer that are
__natively__ (naturally) sized by the browser. So here it goes
empty div for the header
div/
a table style div for the middle (resizable widget)
div style=width: 100%; height: 100%; display: table
div style=width:
Since I couldn't get SplitLayoutPanel to work as I wanted, I used your
suggestion. Works like champ. Thanks!
On Wed, Feb 19, 2014 at 6:03 PM, Jens jens.nehlme...@gmail.com wrote:
Use setWidgetTopBottom() for the upper layers:
LayoutPanel layout = new LayoutPanel();
Greetings,
I am trying to layout four widgets on a LayoutPanel. Each of the four take
up 50% of the width. The bottom two are fixed size (30 pt). The top two
should take up the remaining height. None of the widgets should overlap.
Auto-resize on browser resize is desired. The closest I've
don't use LayoutPanel but instead using DockLayoutPanel or SplitLayoutPanel
u can put them in East West, North, South easily meet all ur
requirements (such as widgets taking up all spaces autorize when browser
resizing). Your MainPresenter must use a panel that has word Layout such
as
Use setWidgetTopBottom() for the upper layers:
LayoutPanel layout = new LayoutPanel();
layout.add(leftTop);
layout.setWidgetLeftWidth(leftTop, 0, Style.Unit.PCT, 50,
Style.Unit.PCT);
layout.setWidgetTopBottom(leftTop, 0,
Style.Unit.PCThttp://style.unit.pt/,
30,