and remove() does not work... On Thu, Dec 10, 2009 at 04:10, instagrammer <[email protected]> wrote:
> I'm getting the same behavior. North shows up, the others are > somewhere in the dom, but not visible. > > On Dec 5, 10:08 pm, Will <[email protected]> wrote: > > I am trying to create a custom DecoratorPanel that will work with > > DockLayoutPanel as the child widget. I tried a normal DecoratorPanel > > and found that only Widgets in the North section of the > > DockLayoutPanel actually render. I used FireBug to determine that the > > rest of the widgets are added to the DOM but are simply not rendering > > on the screen. > > I have also tried extending DecoratorPanel and implementing > > RequiresResize, ProvidesResize but that didn't help. When I > > implemented the two interfaces my onResize was as follows: > > public void onResize() { > > if(getWidget() instanceof RequiresResize){ > > ((RequiresResize)getWidget()).onResize(); > > } > > } > > The if logic executes (I verified with a System.out.println) however > > the North section is still the only part that renders. The > > DecoratorPanel is added to the DOM with: > > RootLayoutPanel.get().add(myPanel); > > I am going to test with other LayoutPanels and see if this problem is > > unique to DockLayoutPanel but I was curious if anyone else has > > encountered this or has any suggestions for how I might resolve the > > dilemma. > > -- > > 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]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- 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.
