cwolcott
Sep 20, 2012, 6:38 PM
Is there a way to align the FieldContainer label.
<ext:FieldContainer runat="server" Layout="HBoxLayout" FieldLabel="Phone" >
<FieldDefaults LabelAlign="Right" LabelWidth="100" />
<Items>
<ext:TextField runat="server" EmptyText="xxx-xxx-xxxx" AllowBlank="false"
Note="Commercial" NoteAlign="Top" NoteCls="field-note" />
<ext:TextField runat="server" EmptyText="xxx" AllowBlank="false"
Note="DSN" NoteAlign="Top" NoteCls="field-note" />
</Items>
</ext:FieldContainer>
Since I have aligned the notes on the top of the textfield the "Phone" label is not were I want it to be. I would like it at the bottom, aligned with the textfields.
<ext:FieldContainer runat="server" Layout="HBoxLayout" FieldLabel="Phone" >
<FieldDefaults LabelAlign="Right" LabelWidth="100" />
<Items>
<ext:TextField runat="server" EmptyText="xxx-xxx-xxxx" AllowBlank="false"
Note="Commercial" NoteAlign="Top" NoteCls="field-note" />
<ext:TextField runat="server" EmptyText="xxx" AllowBlank="false"
Note="DSN" NoteAlign="Top" NoteCls="field-note" />
</Items>
</ext:FieldContainer>
Since I have aligned the notes on the top of the textfield the "Phone" label is not were I want it to be. I would like it at the bottom, aligned with the textfields.