[CLOSED] FormPanel LabelAlign

  1. #1

    [CLOSED] FormPanel LabelAlign

    I would like to know how to set the LabelAlign for the entire FormPanel. On previous versions it was possible to set FormPanel's FieldDefaults.LabelAlign property, but on version 3x i was just able to set Field's LabelAlign property

    <!DOCTYPE html>
    <html>
    <body>
        <ext:ResourceManager runat="server" SeparateUIStyles="false" Theme="Gray" />
        <ext:FormPanel
            runat="server"
            Width="600"
            Height="300"
            Title="Ext.Net"
            Closable="false">
            <Items>
                <ext:TextField
                    runat="server"
                    FieldLabel="Ext.Net" LabelAlign="Top" />
            </Items>
        </ext:FormPanel>
    </body>
    </html>
    Thanks in advance
    Last edited by Daniil; Nov 26, 2014 at 4:49 AM. Reason: [CLOSED]
  2. #2
    Hi Raphael,

    Hmm, it seems I don't see any change in that. You should be able to still use a FormPanel's FieldDefaults.

    Example
    <%@ Page Language="C#" %>
    
    <!DOCTYPE html>
    <html>
    <body>
        <ext:ResourceManager runat="server" />
    
        <ext:FormPanel runat="server" Width="600">
            <FieldDefaults LabelAlign="Top" />
            <Items>
                <ext:TextField runat="server" FieldLabel="Ext.Net v2" />
                <ext:TextField runat="server" FieldLabel="Ext.Net v3" />
            </Items>
        </ext:FormPanel>
    </body>
    </html>
  3. #3
    Sorry for that Daniil. It was a problem on the intellisense of my visual studio. Please mark this thread as closed.

Similar Threads

  1. [CLOSED] LabelAlign Top / Text shifted
    By xtoolz in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 20, 2014, 4:52 PM
  2. Replies: 7
    Last Post: Apr 18, 2012, 4:19 PM
  3. [CLOSED] IE6, compositefield with labelalign=top
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 22, 2011, 6:45 PM
  4. [CLOSED] Different labelalign within a FormPanel
    By jchau in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 09, 2010, 2:23 AM
  5. [CLOSED] [1.0] LabelAlign
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 13, 2010, 5:48 PM

Posting Permissions