I have been trying to use GWT-EXT within an application based on the
gwt-presenter framework. I'd like to be able to hide/show Panels based
on events. The trouble is with Viewport.

I have a parent Panel that I add to my Viewport and then add child
Panels to this root Panel. The child Panels however do not get sized
properly. Is there a way that I can configure my child Panels to be
sized to the same size as their parent?

Here's sort of the idea:

{

Panel rootPanel = new Panel();
Panel childPanel = new Panel();

// child panel gets setup with BorderLayour stuff

rootPanel.add(childPanel);
Viewport = new Viewport(rootPanel);

// result is that the childPanel is displayed but it doesnt resize to
the size of the browser.
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to