Hello, I have a problem with UI in gwt.

I have a "sidebar view" that extends Composite. This new widget is a
VerticalPanel. Into this widget has several HorizontalPanel.

I have several "sidebar" that extends the last Sidebar. Each Sidebar
is diferent and I need change the Sidebar depends some events.

The problem is that the main panel that contains Sidebar and Body view
and I cant change the Sidebar because is placed in the left and the
method "add" to add a Widget in the main panel has a order: First I do
the "add" for sidebar to locate left side and then I "add" the body
view to the left (has a HorizontalPanel). If I remove the sidebar to
add a new sidebar due to a user event, when I do the new "add" for the
new Sidebar.. the sidebar comes to right.

How I do to replace a Widget in a panel? Is necesary load all sidebar
and hide/show it?

Thanks!

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