I think pretty much most straight GWT widgets will do that. It's pretty standard HTML behaviour that if you size a box to 100%,100% it will fill the space made available for it. GXT? Is that part of the Ext family (I can't remember these days). I think the Ext JS library widgets have their own resizing framework. I believe that that they all get sized up with hard pixel values (i.e. they all get a calculated height and width) rather than let the browser do the work like GWT does so that their layouts mimic the windows desktop style.
Therefore I think if you just drop an Ext widget into a standard GWT container (rather than an Ext container), the undelying Ext resizing framework may not kick in properly because standard GWT HSP does not broadcast the necessary resizing event the Ext widgets listen for, so maybe that's why the contents of the FillLayout panel didn't resize with the HSP. On Mar 5, 9:00 pm, Michael <[email protected]> wrote: > You're absolutely right - placing the widgets in a composite did the > trick. I emphasize the word "trick" here because I really have no idea > why that is the case. I must have tried every other viable container > and had no luck. For instance I used the LayoutContainer with a > FillLayout (GXT) which resized when expanding the size of the left > widget, but didn't shrink the child widgets in the container when it > was made smaller. If I had the time I would dig in to the source code > and discover why the magic only works with specific containers. I > would really appreciate an explanation if you can spare a few minutes. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
