View Full Version : How to fit panel with border layout in parent container

7 Nov 2012, 3:29 AM
I have a panel which has border layout.
I want to insert that panel in a container or in a window. depending on the size of parent container it should be resize. If I use layout as auto it works fine but with border layout I have to give fix height .

Is there any option to make my panel with border layout resizable according to parent container??


7 Nov 2012, 5:40 AM
It's a little difficult to decode your description of the problem. Could you post some code to illustrate the case where it isn't working correctly?