View Full Version : BorderLayout - NestedLayoutPanel getting resized on collapse

16 Nov 2006, 1:17 PM
Hey Jack,

Weird problem here. Do you know what would cause this?


I have a NestedLayoutPanel in the east region of a BorderLayout, which has a center and south region to it. When it's expanded and showing the NestedLayoutPanel, it's alright and doesn't overlap the main BorderLayout's south region, but when I collapse the east region, it resizes the region to the bottom of the viewport, and then the region seems to be z-indexed behind the south region.

Here's a picture of it when it's expanded and it looks correct:


I'm going to try messing with z-index, but I just thought you should know about this odd resizing behavior.



16 Nov 2006, 3:05 PM
Since you can post links to jpgs, how 'bout posting an actual link to the example. Kind of hard to guess what's wrong looking at jpgs.

16 Nov 2006, 4:04 PM
1) The image is plenty enough for Jack to see what's occurring.
2) The site's not public yet, and it cannot be public yet.

16 Nov 2006, 4:35 PM
Well I guess we can all SEE that there's a problem. However, neither Jack or anyone else here has a crystal ball, so we can't see your code, or guess what your problem might be.
If you can't post a link to a working example, post a stripped down block of HTML code that replicates the problem. It may be obvious to someone looking at your code what the issue is, and if not, at least Jack or somebody else can copy it to their local box to play with.

16 Nov 2006, 8:41 PM
A link is always better! Sometimes opening it in the debugger takes 2 seconds to find the problem, while searching through posted code (or guessing from an image) can take forever.

However this problem you are having just happens to be one I recently fixed (yesterday). The fix is in svn.


17 Nov 2006, 4:25 AM
I agree, though my code is nothing out of the ordinary in this situation, so I was going on the assumption that I was definitely not the only person observing this issue, as my setup is such a common one.

Anywho, thanks Jack.

P.S. I love that you have your code in SVN now. I'm always anxious to have the latest fixes :-)

17 Nov 2006, 7:58 AM
I also really like your move to a Subversion repository! :-D

I don't know how shared is my feeling, but I find much easier to follow discussions using mailing-lists, instead of forums. And using GMail to subscribe to mailing-lists is really very convenient.

Have you got any project to move these forums to Google/Yahoo groups?

17 Nov 2006, 8:42 AM
I like the forums. They seem more "personal" than a mailing list or yahoo group. Plus, they are semi organized. :D

19 Nov 2006, 4:07 AM
is there any option to install a forum to mailing-list bridge?

Something like this:

19 Nov 2006, 4:36 AM
The link in the previous comment has been crushed.

Here it is (hoping to get it right): <http://mail2forum.com/forums/index.php>

19 Nov 2006, 5:40 AM
That looks nice. I don't see why I can't put it in. Can you remind my later this week if you don't see it installed? :)

4 Dec 2006, 7:27 AM
Hi Jack,

That looks nice. I don't see why I can't put it in. Can you remind my later this week if you don't see it installed?

As I haven't seen any announce about the mailing-list bridge, I am dutifully reminding you about the issue. :-D

4 Dec 2006, 8:34 AM
He meant remind him on Friday 12/9 when he comes back :)

13 Dec 2006, 9:29 AM
I downloaded and played with this and it is too much work to get set up. You have to manually overwrite phpBB files with different versions which also makes me a little nervous.

28 Dec 2006, 7:00 AM
Hi Jack,

I have seen your reply only now; it is really pity it is such a mess to install the mail2forum tool.

I would have been very pleased to "sponsor" the installation of the tool, as following all the interesting stuff happening on these forums is really time consuming with the current interface.

Thanks anyway for the effort.