willgillen
6 Nov 2006, 12:17 PM
I love the new BorderLayout class, but when I try to use it, it seems like it always tries to consume the entire window. Even though I'm passing (as first argument) the div id of an element that has already set with CSS a width and height of 500px. But as soon as the "init" function is called and the panels are added to the BorderLayout, the div grows to consume the entire window surface. Is this by design? If so, is there a way to override it so that the newly created layout can ONLY consume up to the size of the containing div?
Thx.
Thx.