On Wednesday, February 25, 2015 at 8:06:55 PM UTC+1, Jens wrote: > > 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 >
Ok, but even getElement().getClientHeight is a few pixels too large: <https://lh6.googleusercontent.com/-nC1M2odZmWA/VO9cjXVRntI/AAAAAAAAAKQ/fge-GO4mL2E/s1600/Panel.png> It's ok for me to substract some pixels, but I wonder why getClientHeight does not return the exact value... 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. > What's limited size? All parents are resizable by the user, but at any point in time the parent's client size is limited... For example, if I use a table with 100% height, it works... but not with the CellList... Magnus -- 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.