All,

Ok, I realize DockLayoutPanel is a full-screen sort of Panel, that
REQUIRES an explicit size for every widget attached.

So, given that, I'm wondering if what I want to do is even possible.

I'm trying to go for an application-like look.  Essentially, the
screen will be in three sections:

1) The north section will have a MenuBar - no surprise there.
2) The center section will be the "guts" of the GUI.
3) The south section will be something like a Windows Taskbar.  Right
now this is a FlowPanel.

The center section will basically have various items in it, and they
can be minimized.  When this happens, I'd like to add them to the
taskbar at the bottom.

Now, here's the thing - if a lot items in the main section get
minimized, the FlowPanel will get more and more items added to it, and
eventually be wider than the screen.

Naturally, the FlowPanel would expand under normal circumstances to
form a new row - but since its size has been explicitly set, this does
not happen.

Now, my initial instinct is to somehow try and determine whether or
not the FlowPanel needs to vertically resize (how do I determine
this?  Can it be determined?) and then use
DockLayoutPanel.setWidgetSize to perform the resizing "manually".

Is this possible?

Is there a simpler way to get the behavior I want?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to