Ext.Net LayOut

来源:互联网 发布:戴尔软件下载中心 编辑:程序博客网 时间:2024/06/05 05:34


Form分边输入框

 <ext:Panel             ID="Panel3"            runat="server"             Title="Multi Column, Nested Layouts and Anchoring"             Frame="true"            PaddingSummary="5px 5px 0"            Width="600"            ButtonAlign="Center">            <Items>                <ext:Container runat="server" Layout="Column" Height="100">                    <Items>                        <ext:Container runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">                            <Items>                                <ext:TextField runat="server" FieldLabel="First Name" AnchorHorizontal="95%" />                                <ext:TextField runat="server" FieldLabel="Company" AnchorHorizontal="95%" />                            </Items>                        </ext:Container>                        <ext:Container runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">                            <Items>                                <ext:TextField runat="server" FieldLabel="Last Name" AnchorHorizontal="95%" />                                <ext:TextField runat="server" FieldLabel="Email" AnchorHorizontal="95%" />                            </Items>                        </ext:Container>                    </Items>                </ext:Container>                <ext:Container runat="server" LabelAlign="Top" Layout="Form">                    <Items>                        <ext:HtmlEditor runat="server" Height="200" FieldLabel="Biography" AnchorHorizontal="98%" />                    </Items>                </ext:Container>            </Items>            <Buttons>                <ext:Button runat="server" Text="Save" />                <ext:Button runat="server" Text="Cancel" />            </Buttons>        </ext:Panel>