Sunday, December 2, 2012

Re: DataGrid vs CellTable



On Monday, December 3, 2012 12:05:49 AM UTC+1, Tony B wrote:
Ooops, missed your second question, about the parent widget.  Here is the path:
FlowPanel -> WidgetList -> DataGrid

Your comments above about the contraints are what made me ask my question in the first place.  I even set the size of the DataGrid to 100% on the hunch that that would meet your rule that it must be "explicitly sized".

100% isn't reliable. RequiresRzsize widgets have to be informed when their size change, so you have to give them a size that won't change on your behalf (I think EMs and EXs will be detected –i.e. when the user changes his browser font settings–, though probably not by each and every RequiresResize widget; better stick with pixels).

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/L6vwcdMcRMMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment