Thats a basic CSS "problem". Your FlowPanel f1 has a height (which one is 
not important, can be 100% or 400px) and that height is fully occupied by 
the DataGrid because it has a height of 100% and thus fills its parent. Now 
you have added a second widget with height 80px. That means the children of 
your FlowPanel f1 now occupy a height of 80px + 100% and thats why your 
DataGrid is always 80px outside of your parent panel.

The easiest fix is to position children absolutely, e.g. your FlexTable 
using top:0; height:80px and your DataGrid uses top:80px, bottom:0px; If 
you do so your FlowPanel must also have position:relative; assigned so that 
the absolute positioning is calculated in the context of the FlowPanel.

-- J.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to