On 12 août, 19:09, Greg Dougherty <[email protected]> wrote: > The topic pretty much says it all. I know how to do this for a > DockPanel. How do I do it for a DockLayoutPanel? > > Yes, I know, "use uibinder". That doesn't work when you're building > things grammatically, which is what I'm doing.
I believe getWidgetContainerElement() is designed for this kind of use cases. > BTW, why don't the Showcase application use ANY *LayoutPanels? I > thought they were supposed to be the preferred way to do things, no? It doesn't use UiBinder either, because both have been added to GWT long after the Showcase sample was created. The Mail sample has been updated to use layout panels though if you want to see some example. Showcase also (still) demonstrates the "old" DockPanel/StackPanel/ SplitPanel/etc. which should use "quirks mode", whereas layout panels should use "standards mode". I guess someone should revisit the sample, but it takes time, and having Cell widgets, RequestFactory, Activities, etc. ready are probably higher priority (and should IMO be). -- 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.
