<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="hbox.aspx.cs" Inherits="ExtAspNet.Examples.layout.hbox" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:Panel ID="Panel2" runat="server" Height="250px" Width="800px" ShowBorder="True"
        Layout="HBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start" BoxConfigPadding="5"
        BoxConfigChildMargin="0 5 0 0" ShowHeader="True" Title="Panel (Layout=HBox BoxConfigAlign=Stretch BoxConfigPosition=Start BoxConfigPadding=5 BoxConfigChildMargin=0 5 0 0)">
        <Items>
            <ext:Panel ID="Panel1" Title="Panel 1" EnableBackgroundColor="true" BoxFlex="1" runat="server"
                BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label1" runat="server" Text="BoxFlex=1">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel3" Title="Panel 2" Width="150px" EnableBackgroundColor="true"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label2" runat="server" Text="Width=150px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel4" Title="Panel 3" EnableBackgroundColor="true" BoxFlex="2" runat="server"
                BodyPadding="5px" BoxMargin="0" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label3" runat="server" Text="BoxFlex=2 BoxMargin=0">
                    </ext:Label>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <br />
    <br />
    <ext:Panel ID="Panel5" runat="server" Height="250px" Width="800px" ShowBorder="True"
        Layout="HBox" BoxConfigAlign="Stretch" BoxConfigPosition="End" BoxConfigPadding="5px"
        BoxConfigChildMargin="0 5 0 0" ShowHeader="True" Title="Panel (Layout=HBox BoxConfigAlign=Stretch BoxConfigPosition=End BoxConfigPadding=5 BoxConfigChildMargin=0 5 0 0)">
        <Items>
            <ext:Panel ID="Panel6" Title="Panel 1" EnableBackgroundColor="true" Width="200px"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label4" runat="server" Text="Width=200px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel7" Title="Panel 2" Width="200px" EnableBackgroundColor="true"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label5" runat="server" Text="Width=200px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel8" Title="Panel 3" EnableBackgroundColor="true" Width="200px"
                BoxMargin="0" runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label6" runat="server" Text="Width=200px BoxMargin=0">
                    </ext:Label>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <br />
    <br />
    <ext:Panel ID="Panel9" runat="server" Height="250px" Width="800px" ShowBorder="True"
        Layout="HBox" BoxConfigAlign="Stretch" BoxConfigPosition="Center" BoxConfigPadding="5px"
        BoxConfigChildMargin="0 5 0 0" ShowHeader="True" Title="Panel (Layout=HBox BoxConfigAlign=Stretch BoxConfigPosition=Center BoxConfigPadding=5 BoxConfigChildMargin=0 5 0 0)">
        <Items>
            <ext:Panel ID="Panel10" Title="Panel 1" EnableBackgroundColor="true" Width="200px"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label7" runat="server" Text="Width=200px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel11" Title="Panel 2" Width="200px" EnableBackgroundColor="true"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label8" runat="server" Text="Width=200px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel12" Title="Panel 3" EnableBackgroundColor="true" Width="200px"
                BoxMargin="0" runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label9" runat="server" Text="Width=200px BoxMargin=0">
                    </ext:Label>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <br />
    <br />
    <ext:Panel ID="Panel13" runat="server" Height="250px" Width="800px" ShowBorder="True"
        Layout="HBox" BoxConfigAlign="Center" BoxConfigPosition="Center" BoxConfigPadding="5px"
        BoxConfigChildMargin="0 5 0 0" ShowHeader="True" Title="Panel (Layout=HBox BoxConfigAlign=Center BoxConfigPosition=Center BoxConfigPadding=5 BoxConfigChildMargin=0 5 0 0)">
        <Items>
            <ext:Panel ID="Panel14" Title="Panel 1" EnableBackgroundColor="true" Width="200px"
                Height="100px" runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label10" runat="server" Text="Width=200px Height=100px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel15" Title="Panel 2" Width="200px" Height="150px" EnableBackgroundColor="true"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label11" runat="server" Text="Width=200px Height=150px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel16" Title="Panel 3" EnableBackgroundColor="true" Width="200px"
                BoxMargin="0" Height="200px" runat="server" BodyPadding="5px" ShowBorder="true"
                ShowHeader="true">
                <Items>
                    <ext:Label ID="Label12" runat="server" Text="Width=200px Height=200px BoxMargin=0">
                    </ext:Label>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <br />
    <br />
    <ext:Panel ID="Panel17" runat="server" Height="250px" Width="800px" ShowBorder="True"
        Layout="HBox" BoxConfigAlign="StretchMax" BoxConfigPosition="Center" BoxConfigPadding="5px"
        BoxConfigChildMargin="0 5 0 0" ShowHeader="True" Title="Panel (Layout=HBox BoxConfigAlign=StretchMax BoxConfigPosition=Center BoxConfigPadding=5 BoxConfigChildMargin=0 5 0 0)">
        <Items>
            <ext:Panel ID="Panel18" Title="Panel 1" EnableBackgroundColor="true" Width="200px"
                Height="100px" runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label13" runat="server" Text="Width=200px Height=100px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel19" Title="Panel 2" Width="200px" Height="150px" EnableBackgroundColor="true"
                runat="server" BodyPadding="5px" ShowBorder="true" ShowHeader="true">
                <Items>
                    <ext:Label ID="Label14" runat="server" Text="Width=200px Height=150px">
                    </ext:Label>
                </Items>
            </ext:Panel>
            <ext:Panel ID="Panel20" Title="Panel 3" EnableBackgroundColor="true" Width="200px"
                BoxMargin="0" Height="200px" runat="server" BodyPadding="5px" ShowBorder="true"
                ShowHeader="true">
                <Items>
                    <ext:Label ID="Label15" runat="server" Text="Width=200px Height=200px BoxMargin=0">
                    </ext:Label>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
