Sometimes table layout is just the only option...

If you are really annoyed seeing <table> elements, you can use a div with a 
display attribute to table for example... ( <div style="display:table"> )



Le mardi 9 décembre 2014 10:35:59 UTC+1, Thomas Broyer a écrit :
>
>
>
> 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+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/d/optout.

Reply via email to