Split Panels with Percentage?
I have a border layout, and within that I have 2 panels, the south panel has split:true
I would like to make the height of one of these panels 50% of the height of the parent container. The config object properties width and height only seem to accept numerical values in pixels.
I also tried adding some code to the Ext.onReady method, that obtained the height of the parent container, and then set the height of the south panel to half of this value. This then resulted in some weirdness. The contents of the north panel did not adjust when the splitter was moved...
Has anyone tried to do something similar? I basically want 2 panels with a splitter both representing 50% of the available space.
Any help would be appreciated.
Tags for this Thread