card layout height

  1. #1

    card layout height

    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" >
        <Body>
            <ext:ContainerLayout runat="server" >
                <ext:Panel ID="pnlCard" runat="server" AutoScroll="true" Border="false" BodyStyle="margin: 5px 5px 5px 5px" AutoHeight="true" >
                <Body>
                    <ext:FitLayout runat="server" >
                    <ext:CardLayout ID="extcard1" runat="server" >
                        <ext:Panel ID="pnlCompanyQS1" runat="server" Border="false" BodyBorder="false" Width="600" >
                            <Body>
    .........
  2. #2

    RE: card layout height

    Hi,

    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...ing-New-Topics

    Hope this helps.
    Last edited by geoffrey.mcgill; Jan 19, 2011 at 6:00 AM.
    Geoffrey McGill
    Founder

Similar Threads

  1. Extending a Panel (layout=card)
    By phinoppix in forum 1.x Help
    Replies: 3
    Last Post: Jun 03, 2011, 10:54 AM
  2. [CLOSED] Width of controls within card layout
    By wazige in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jul 06, 2010, 12:32 PM
  3. set activeindex in card layout
    By maxdiable in forum 1.x Help
    Replies: 2
    Last Post: Jun 28, 2010, 10:51 AM
  4. [CLOSED] Card Layout issue
    By ashton.lamont in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Mar 01, 2010, 4:43 PM
  5. [CLOSED] Panel with Layout="Card" in v 1.0
    By egodoy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 04, 2010, 12:29 PM

Posting Permissions