Jan 29, 2014, 12:04 AM
[CLOSED] ColumnLayout in Viewport Frustration
All I want is for a panel with columnlayout to take up the full screen for all columns. Putting it inside a viewport with layout = fitlayout seemingly is the right solution (isn't that what fitlayout is for???). But when I do that, the column panels each only take up the height of what is in the panel and no more.
Here's a very simple example to show what I mean:
Thanks,
Jason
Here's a very simple example to show what I mean:
<ext:Viewport ID="Viewport1" runat="server" Layout="FitLayout">
<Items>
<ext:Panel ID="columns" runat="server" Layout="ColumnLayout">
<Items>
<ext:Panel runat="server" ColumnWidth="0.5" Border="true" Html="West Gutter">
</ext:Panel>
<ext:Panel runat="server" Width="1000" Html="Center"></ext:Panel>
<ext:Panel runat="server" ColumnWidth="0.5" Border="true" Html="East Gutter"></ext:Panel>
</Items>
</ext:Panel>
</Items>
</ext:Viewport>
I've tried a Border Layout, but it has to have defined widths for the west and east, but they are just gutters for the content in the middle, which should be of defined width, so that's out. Please help! Frustrations abound. Essentially, I'm trying to get the code rewritten in v2.x for the attached example.Thanks,
Jason
Last edited by geoffrey.mcgill; Jan 29, 2014 at 8:07 PM.
Reason: [CLOSED]