Nov 05, 2013, 8:32 PM
AutoHeight,LabelSeparator ,LabelAlign ,LabelPad not work in V2.3
I have server side code to create Panel and FormPanel in V1.0, I want to upgrade to V2.3. AutoHeight,LabelSeparator ,LabelAlign ,LabelPad do not work. I refence the Breaking_changes.txt. AutoHeight is remove need to use ShrinkWrap instead. I put ShrinkWrap=2, but cannot recompile. I want to know how to use ShrinkWrap , LabelSeparator ,LabelAlign ,LabelPad in V2.3.
following is the my old code:
following is the my old code:
Panel panel = new Ext.Net.Panel()
{
ID = "frmm" + docType.DocTypeID.ToString(),
Header = false,
Padding = 1,
Border = false,
AutoDoLayout = true,
AutoHeight = true
};
var fp = new FormPanel()
{
ID = "ff" + docType.DocTypeID.ToString(),
Header = false,
Frame = true,
AutoDoLayout = true,
AutoHeight = true,
AnchorHorizontal = "96%",
LabelSeparator = ":",
LabelAlign = LabelAlign.Left,
LabelPad = 1,
Layout = "Form"
};
Last edited by Daniil; Nov 06, 2013 at 4:00 PM.
Reason: Please use [CODE] tags