Saturday, February 27, 2016

Re: UIBinder and UI update/change at runtime

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

In my opinion you should consider a different layout panel, or using pure CSS to layout your widgets (by using 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+unsubscribe@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.

No comments:

Post a Comment