You can try with setAutoHeight(true) and / or setAutoWidth(true). This may give a way to resize automatically.
cheers, Amzad Basha. On May 31, 10:25 pm, KodeMaestro <troypeter...@rogers.com> wrote: > Hi Everyone, > > I'm hoping someone can help me out with a really frustrating issue > I've been having. I've searched the web for days on this and have > found nothing. My issue is that I have a TabPanel with a number of > tabs on it. Each tab has a similar sort of layout with a text box, a > button, and a flextable. The flextable initially starts out invisible > (.setVisible(false)). When the user clicks on the button a simple > database lookup is performed and the flextable is populated and made > visible. The problem is, the TabPanel does not expand to accomodate > it. I only see the first couple of rows of the tab panel. There is no > scrollbar, but I can scroll the window by selecting the table and > dragging the mouse inside of it. Changing tabs and changing back > causes the window to resize. > > I have not been able to find a redraw method or any other way to force > the widget to update to accommodate the larger child. I've tried > setting it to invisible and back to visible again to cause it to > resize, but nothing I can do from code seems to have any effect. I > can't have the users clicking another tab every time to get their > window to resize. Is there any solution to this problem? What can I > do? > > Thanks, > Troy. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---