Jan 22, 2011, 12:28 AM
[CLOSED] Label width problem
How can set width for a label of a text field, i use labelWidth but it doesn't work. In the next example(show image) i want to reduce label width because text field is to small.
<ext:FormPanel ID="FormPanel1" runat="server" Layout="Column" Header="false" Border="false" Width="300" Height="30" >
<Items>
<ext:Panel ID="Panel1" runat="server" ColumnWidth=".5" Layout="Form" Border="false">
<Items>
<ext:TextField ID="txtUser" ColumnWidth=".5" runat="server" Cls="Login_Input"
AllowBlank="false" AnchorHorizontal="92%" FieldLabel="User" ></ext:TextField>
</Items>
</ext:Panel>
<ext:Panel ID="Panel2" runat="server" ColumnWidth=".5" Layout="Form" Border="false">
<Items>
<ext:TextField ID="txtPass" ColumnWidth=".5" runat="server" Cls="Login_Input"
InputType="Password" AllowBlank="false" AnchorHorizontal="92%" FieldLabel="User" ></ext:TextField>
</Items>
</ext:Panel>
</Items>
</ext:FormPanel>
Last edited by Daniil; Jan 22, 2011 at 4:06 PM.
Reason: [CLOSED]