ubr
28 Nov 2008, 12:19 PM
I've developed my application using GXT 1.1.1 so far. Recently I decided to switch to 1.1.4 to not become too much trailed. Unfortunately, in the meanwhile something has happened to the mechanism of adding children prior or after adding the container itself. E.g. under 1.1.1 it worked well when I do
LayoutContainer container = new LayoutContainer();
this.add(container);
container.add(new Html("hello"));
in some places, but in 1.1.4 I need to do
LayoutContainer container = new LayoutContainer();
container.add(new Html("hello"));
this.add(container);
or else the afterwards added Html would not appear at all. Now I'm on the search how I can still use the former order under 1.1.4, presumbly by enforcing the container to rethink its layout or something.
Has anybody an idea? Thank in advance.
LayoutContainer container = new LayoutContainer();
this.add(container);
container.add(new Html("hello"));
in some places, but in 1.1.4 I need to do
LayoutContainer container = new LayoutContainer();
container.add(new Html("hello"));
this.add(container);
or else the afterwards added Html would not appear at all. Now I'm on the search how I can still use the former order under 1.1.4, presumbly by enforcing the container to rethink its layout or something.
Has anybody an idea? Thank in advance.