I think you are right, there should be a direct link of LayoutPanel to the RootLayoutPanel in order for things to work. When I test with something simpe though (like adding a SimplePanel to the RootLayoutPanel and then my LayoutPanel on top of it) things seem to work. But not in a more complicated case that I curently have ... will try to find out ...
Andi On Feb 23, 5:14 am, Danni <[email protected]> wrote: > Hi, > > I am looking for a DecoratorPanel that works when LayoutPanels are > added to it as children (a 'DecoratorLayoutPanel'). > If I use the current DecoratorPanel (shipped with gwt 2.0.2) and add > aLayoutPanelto it, the layout panel is not displayed because it uses > position:relative as opposed to the decorator panel which uses > position:absolute. > > How do you deal with this problem? Is it planned to add a > DecoratorLayoutPanel? > > My general feeling with the new gwt 2.0.x layout panels is that > whenever you put a non-LayoutPanelin your widget hierarchy you should > not never ever attempt to addLayoutPanelchildren further down in the > hierarchy as this will mess up your layout. Did you have the same > experience? > > thanks for any suggestions and feedback, > > Danni -- 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.
