Nov 25, 2008, 7:14 AM
BorderLayout
I'm trying to achieve a split layout for part of a page. Essentially there are two columns with the second column being wider than the first. The second column should be split into three equal size rows.
What I've done so far is use a BorderLayout to create two resizeable columns. I've then put a panel inside the second column containing another border layout that splits into three row. How can I set the height of these areas evenly?
What I've done so far is use a BorderLayout to create two resizeable columns. I've then put a panel inside the second column containing another border layout that splits into three row. How can I set the height of these areas evenly?
<ext:Panel runat="server" ID="test333" Border="false" AutoWidth="true" Height="500">
<Body>
<ext:BorderLayout ID="BorderLayout1" runat="server">
<West MinWidth="100" MaxWidth="350" Split="true">
<ext:Panel
ID="WestPanel"
runat="server" Width="185">
<Body>
<p>Area1</p>
</Body>
</ext:Panel>
</West>
<Center>
<ext:Panel runat="server" ID="test" Border="false">
<Body>
<ext:BorderLayout runat="server" ID="BorderLayout2">
<North MinHeight="50" Split="true" Collapsible="false">
<ext:Panel
ID="Panel1"
runat="server" Height="50">
<Body>
<p>Area2</p>
</Body>
</ext:Panel>
</North>
<Center MinHeight="50" Collapsible="false">
<ext:Panel
ID="Panel2"
runat="server" Height="50">
<Body>
<p>Area3</p>
</Body>
</ext:Panel>
</Center>
<South MinHeight="50" Split="true" Collapsible="false">
<ext:Panel
ID="Panel3"
runat="server" Height="50">
<Body>
<p>Area4</p>
</Body>
</ext:Panel>
</South>
</ext:BorderLayout>
</Body></ext:Panel>
</Center>
</ext:BorderLayout>
</Body>
</ext:Panel>