Wednesday, February 25, 2015

Re: CellList inside a panel of 100% height

The panel is located in an UIBinder with a HTMLPanel as root. So I used getParent().getOffsetHeight().
Any ideas why this is not exactly the client height?
 
clientHeight includes padding
offsetHeight includes padding, borders and scrollbars

 
And why does the panel with the CellList have to be fixed-sized?

You can also use 100% on the ScrollPanel if any parent is limited in size.


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