• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Nested layout help, DockLayoutPanel

 
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic