[CLOSED] Required/Not Required Text Fields Alignment - FormPanel

  1. #1

    [CLOSED] Required/Not Required Text Fields Alignment - FormPanel

    Hi,

    Is there a way to keep the required / not required text fields / combos aligned in the form panel ?

    See the attached image to get a closer look on the issue.



    Thank in advance.
    Attached Thumbnails Screenshot.png  
    Last edited by Daniil; Mar 04, 2014 at 1:16 PM. Reason: [CLOSED]
  2. #2
    Hi @Istofix,

    An image didn't appear. Did you not forget to attach?
  3. #3
    I just attached the image.
  4. #4
    There may be a problem with the new forum image upload. I am investigating.
    Geoffrey McGill
    Founder & CEO
  5. #5
    Quote Originally Posted by geoffrey.mcgill View Post
    There may be a problem with the new forum image upload. I am investigating.
    ok, I guess the image upload was working after all.
    Geoffrey McGill
    Founder & CEO
  6. #6
    I looked at the screenshot, but I don't quite understand the requirement. Could you elaborate on that, please?

    Is a screenshot of you get or what you need? If any, is there an opposite?
  7. #7
    The problem here is that the text field with the required (red) indicator (Type field) has smaller width than the one below it (Phone field) and the difference is that the Type is a required field. Is there a way to make both fields have the same width.



    Thanks.
    Attached Thumbnails Screenshot 1.png  
  8. #8
    Clear, thanks. Maybe, by using the AnchorHorizontal setting.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html>
    <html>
    <head runat="server">
        <title>Ext.NET v2 Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
    
            <ext:FormPanel runat="server" Width="200">
                <Items>
                    <ext:TextField runat="server" FieldLabel="TextField" IndicatorIcon="BulletRed" />
                    <ext:TextField runat="server" FieldLabel="TextField" IndicatorIcon="BulletRed" />
                    <ext:TextField runat="server" FieldLabel="TextField" AnchorHorizontal="-18" />
                    <ext:TextField runat="server" FieldLabel="TextField" AnchorHorizontal="-18" />
                </Items>
            </ext:FormPanel>
        </form>
    </body>
    </html>
  9. #9
    Great..It works..Thanks a lot.

Similar Threads

  1. [CLOSED] Setting background for required input fields
    By vadym.f in forum 1.x Premium Help
    Replies: 17
    Last Post: Sep 10, 2015, 7:15 AM
  2. GridPanel Required Fields
    By Gianluca in forum 1.x Help
    Replies: 1
    Last Post: Sep 05, 2012, 7:42 PM
  3. [CLOSED] [1.0] Required Fields
    By Timothy in forum 1.x Premium Help
    Replies: 5
    Last Post: Jul 15, 2010, 10:57 PM
  4. Replies: 1
    Last Post: Jan 26, 2010, 10:57 AM
  5. [CLOSED] FormPanel required field
    By turione in forum 1.x Premium Help
    Replies: 6
    Last Post: Aug 20, 2009, 2:33 PM

Posting Permissions