query the container widget's size in a deferred command (http:// code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/com/ google/gwt/user/client/DeferredCommand.java?r=1061) so the browser has time to calculate the containers size before you ask for it
On 10 Sep., 18:06, Maurice <[email protected]> wrote: > Hi, > > I understand that a PagingScrollTable must have its size specified in > pixels. > > So far I have successfully created a PagingScrollTable and setup a > handler to listen for browser resize events like so: > > Window.addResizeHandler(new ResizeHandler() {...}) > > When I resize the browser my PagingScrollTable is resized correctly. > > However, when it initially loads, it does not fill the widget > containing it. When I query the container widget's size from its > presenter I get 0. > > Has anyone got a solution for this? > > Thanks! > > Maurice -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
