wood burning stoves 2.0*
The moose likes GWT and the fly likes Nested layout help, DockLayoutPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Nested layout help, DockLayoutPanel" Watch "Nested layout help, DockLayoutPanel" New topic
Author

Nested layout help, DockLayoutPanel

Chris Boldon
Ranch Hand

Joined: Aug 10, 2006
Posts: 190
I'm creating an application with a view based upon the DockLayoutPanel.

I initialize a DockLayoutPanel and add SimplePanels to the north, south, west, and center docks so I can pass them to the Presenters.

The presenter then adds a custom widget to the to the SimplePanel. The custom widget contains a StackLayoutPanel (think left stackpanel navigation like gmail). The issue is the stack isn't displaying correctly, I'm only seeing the first stack in the panel.

If I add the custom widget directly to the DockLayoutPanel without first adding a SimplePanel, it works fine. But this would mess up my MVP coupling.

Any help is appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Nested layout help, DockLayoutPanel
 
Similar Threads
Slider bar - Slider from both ends
is there any padding attribute for DockLayoutPanel?
Pop up which will fix to window's left top coner without effected by scrolling
Help for making swing custom widget using Visual Editor
New to GWT - struggling with a component arrangement issue