PDA

View Full Version : [CLOSED] FieldContainer label placement



cwolcott
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" />
<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.

Daniil
Sep 20, 2012, 6:44 PM
Hi,

This setting for the FieldContainer helps.

LabelStyle="margin-top: 20px;"

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