Sunday, April 27, 2014

Re: HTMLPanel - How does it work?



On Saturday, April 26, 2014 1:25:26 PM UTC+2, Joshua Godi wrote:
Thanks for the reply. I do want to be able to have (1) widget children, (2) text, (3) html allowed to be written inside this widget. That way it's as flexible as it needs to be.

I don't think it's a good idea.
gwt-bootstrap already tried that and they're having issues (e.g. integrating with UiBinder)
YMMV

FYI, in GWT 2.7, FlowPanel will no longer be div-only, so you could build a FlowPanel that's an <H1>: https://gwt-review.googlesource.com/6780
For HTML or text, you can then extend HTML or Label and use their protected constructor.

--
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+unsubscribe@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/d/optout.

No comments:

Post a Comment