I got a GWT SplitLayoutPanel full-window sized:

...........
public void onModuleLoad() {
RootPanel rootPanel = RootPanel.get();
rootPanel.setPixelSize(Window.getClientWidth(),
Window.getClientHeight());

SplitLayoutPanel splitLayoutPanel = new MySplitLayoutPanel();
rootPanel.add(splitLayoutPanel, 0, 0);
splitLayoutPanel.setPixelSize(Window.getClientWidth(),
Window.getClientHeight());
...........


I want to add a StackPanel on the right (Outlook-like style):
............
DecoratedStackPanel decoratedStackPanel = new DecoratedStackPanel();
decoratedStackPanel.add(<Panel>,<Description>);
splitLayoutPanel.addWest(decoratedStackPanel, 100.0);
...........


I would like to 'resize' the Stack Panel, in order to stretch or
enlarge the panel when the splitter is moved.
But i don't understand how can i get the size of the 'West' part of
the SplitLayoutPanel, since i don't see any method that can help me.


-- 
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