In doing some research on DOM layout it looks as though the problem
may be the fact that DecoratorPanel is implemented with a Table.
Every document I read says that height=100% is not reliable with a
table in standards mode which is required for flow layout.  I tried
all of the flow layout classes and each one had rendering trouble
inside a table with height=100%.  I think my next move is going to be
creating a DecoratorPanel that does not use a table and see if that
works.

On Dec 10, 10:28 am, daniel brelovsky <[email protected]>
wrote:
> 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.


Reply via email to