View Full Version : two panel layout, how can i do

19 Nov 2010, 1:43 AM

First, I'm French and sorry for my English.

I have two panels in my "body", one right and one left.
I'd like both of them to be collapsed by sides, and when one is collapsed, the other takes all the place. To dit it I use a "borderLayout" (region west for the left panel and region center for the right panel), but the central area is collapsed by the top.
Is it possible to make the centrale area to be collapsed by the right ?

I'd try to use a region west and region east, when I reduce one region, I try to resize manually the other one (to make it takes all the area), but it expands by the side and leaving the window

Thanks for help