Oct 15, 2012, 10:38 AM
[CLOSED] [#11] Margins inside a FormPanel
Hi!
According to this topic, margins should work under a FormPanel. I can get it to work under a composite field, but not a formpanel nor a panel with layout=form.
Thanks
According to this topic, margins should work under a FormPanel. I can get it to work under a composite field, but not a formpanel nor a panel with layout=form.
Thanks
<%@ Page Language="C#" EnableViewState="false" ClientIDMode="AutoID" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!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 />
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<form id="Form1" runat="server">
<ext:FormPanel runat="server">
<Items>
<ext:TextField Margins="50 0 15 0" runat="server" />
</Items>
</ext:FormPanel>
<ext:CompositeField runat="server">
<Items>
<ext:TextField ID="TextField1" Margins="50 0 15 0" runat="server" />
</Items>
</ext:CompositeField>
</form>
</body>
</html>
Last edited by Daniil; Dec 13, 2012 at 8:44 AM.
Reason: [CLOSED]