Hi all,

I have a DockLayoutPanel with two children, one occupying the West
Direction and the other Center.

When a user clicks a button my intention is to resize the child in the
West direction and have that stretch or shrink the size of the child
at the Center direction accordingly.

Playing with the API I have been able to achieve two things:
1) Resize the _entire_ DockLayoutPanel via a callback passed to the
animate method.  I don't seem to be able to manipulate child
dimensions here.
2) Using a similar approach, resize the child in the West Direction
_without_ effecting the dimensions of the child at the Center
Direction - i.e. the DockLayoutPanel containers for the children are
uneffected.

I have considered subclassing DockLayoutPanel and exposing a method to
manipulate child widget LayoutData directly - but this approach
doesn't play well with UiBinder.

Can anyone recommend any way of achieving this?  Note I'm also
experiencing a similar problem with SplitLayoutPanel.

Regards,

Matthew

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

Reply via email to