On Feb 22, 8:02 am, Jeff Larsen <larse...@gmail.com> wrote: > THe problem is that with dialog box, it resizes itself to be the size of > widget it contains, and since TabLayoutPanel has no defined size, it won't > properly resize itself. > > You could getting the size of the dynamically generated widgets that > TabLayoutPanel contains, then adding that size to the size of the tabs and > setting the dialog box to that explicit size, but I think the cleaner > solution would be to just use TabPanel.
Thanks Jeff... Any advice on getting the size of the stuff I'm dynamically building? My problem is if I just add the resulting panels to the TabLayoutPanel, then try something like getAbsoluteHeight() on them, it winds up being zero. I started down the path of building something to estimate the dimensions of the layout as it was constructed, but I realized that was going to be a non-trivial expedition... -- 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.