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.
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.
Hi @Istofix,
An image didn't appear. Did you not forget to attach?
I just attached the image.
There may be a problem with the new forum image upload. I am investigating.
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?
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.
Clear, thanks. Maybe, by using the AnchorHorizontal setting.
Example
Code:<%@ 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>
Great..It works..Thanks a lot.