Re: How to avoid unnecessary divs when using UiBinder with a panel, example, HTMLPanel?

2013-07-13 Thread Ed
Design your widgets well.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.




How to avoid unnecessary divs when using UiBinder with a panel, example, HTMLPanel?

2013-07-12 Thread Mohammad Al Quraian
When I use Uibinder and want to have an HTMLPanel to hold another widget 
which is also HTMLPanel, I would have 2 divs, which I only require 1, I 
don't need the external one.

Example:

 ...
 ...
 g:HTMLPanel ui:field=panel /
 ...
 ...
 public void addToPanel(Widget widget) {
 panel.clear();
 panel.add(widget);
 }


How can I avoid having the div of the fathering panel?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.