Tuesday, February 24, 2015

Re: CellList inside a panel of 100% height

table.setHeight(String.valueOf(Window.getClientHeight() - (the amount of px you want to leave from top)) + Unit.PX);

Thanks,
Tushar

On Monday, February 23, 2015 at 8:48:34 AM UTC+5:30, Magnus wrote:
Hi,

consider the CellList example in GWT showcase:


The CellList in this example has a fixed height of 400 px.
If you change it to 100%, the scrollbars are gone!
(You can verify this right in the showcase example.).

However, I would like it to fill the whole height.
What can I do?

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