View Full Version : card layout height

Nov 04, 2009, 3:59 AM
how can i make the card layout consume all the height of the window

<ext:Window ID="extwinGenerateCQS" runat="server" Title="New" Width="600" Height="400" MinWidth="600" MinHeight="400" AutoShow="false" Modal="true" Show&#111;nload="false" AutoScroll="true" BodyStyle="background-color:white" AutoRender="false" >
<ext:ContainerLayout runat="server" >
<ext:Panel ID="pnlCard" runat="server" AutoScroll="true" Border="false" BodyStyle="margin: 5px 5px 5px 5px" AutoHeight="true" >
<ext:FitLayout runat="server" >
<ext:CardLayout ID="extcard1" runat="server" >
<ext:Panel ID="pnlCompanyQS1" runat="server" Border="false" BodyBorder="false" Width="600" >

Nov 04, 2009, 4:11 AM

It should work if you replace the <ext:ContainerLayout> with an <ext:FitLayout>, and remove the AutoHeight="true" property from pnlCard.

If that does not fix the issue, please post a complete .aspx sample fully demonstrating how you have things configured. See http://forums.ext.net/showthread.php?3440-Forum-Guidelines-For-Posting-New-Topics

Hope this helps.