Thursday, December 11, 2014

Re: Why Table Layout in GWT?

Is deprecation considered to be scheduled on those table layout widgets?

On Tuesday, December 9, 2014 4:35:59 AM UTC-5, Thomas Broyer wrote:


On Tuesday, December 9, 2014 8:20:41 AM UTC+1, Mohammed Sameen wrote:
Hi,
 Why table layout is used in GWT?Why not div layout?

Only old widgets use "table layout", and they do so because at the time they were written (years ago) it was the only reliable way of laying out things cross-browser.
Newer widgets don't use "table layout".
I'd go as far as saying that if you use a widget that relies on "table layout" today, You're Doing It Wrong™. Modern GWT apps should rely mostly on FlowPanel and HTMLPanel (and the various "layout panels" for complex layouts), you shouldn't need HorizontalPanel, VerticalPanel and the like.

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