View Full Version : [CLOSED] FieldContainer label placement

Sep 20, 2012, 5:38 PM
Is there a way to align the FieldContainer label.

<ext:FieldContainer runat="server" Layout="HBoxLayout" FieldLabel="Phone" >
<FieldDefaults LabelAlign="Right" LabelWidth="100" />
<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" />

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.

Sep 20, 2012, 6:44 PM

This setting for the FieldContainer helps.

LabelStyle="margin-top: 20px;"

Sep 21, 2012, 1:26 PM
To many attributes. I am getting better at this, but still not perfect, obviously. Please close the thread.