That's not an issue of the UiBinder, but the DockLayoutPanel itself. Once 
you add the central widget, you cannot add anymore other widgets to it (
reference 
<http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DockLayoutPanel.html#add(com.google.gwt.user.client.ui.Widget)>
).

In my opinion you should consider a different layout panel, or using pure 
CSS to layout your widgets (by using flexbox 
<https://css-tricks.com/snippets/css/a-guide-to-flexbox/> for instance). It 
will be better to handle when you move to mobile.

On Friday, February 26, 2016 at 1:19:45 PM UTC-3, va...@ant.ee wrote:
>
> Hello all,
>
>        I have View, created by UIBinder using DockLayoutPanel. I have a 
> button there. I would like after pushing the button change UI layout of the 
> view (for example add new widget to it). Having it attached to uifield = 
> "dockPanel" allows me to read different properties of the DockLayoutPanel, 
> but when I try to modify it (by adding something like HTMLPanel to the 
> east) has no effect. What is wrong?
>
> Thank you. 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to