Skip to Content
author's profile photo Former Member
Former Member

Text alignment

I was facing the problem of the labels and the fields are not coming in the right way.

It is coming like this when i used grid and row layout..

cust num : <text-field>

customer number :<text-field>

I need tht :(colon) want to be perfect for all the labels and fields..When i give a label which have 20 length and other one with 5 length also,the <text-field> want to start from a particular position like

cust num : <text-field>

custname :<text-field>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 04:38 AM

    hi mahesh.....

    consider one field as "cust num" and the other one as "customer number'".

    the colon is default.

    take the length of the label with maximum length.

    (ie) "customer number" is the longest. so the the other value should be

    "cust num ". now you will get the colon properly aligned.

    makes sure that wrapping is not checked.

    or

    give the width to the maximum and have your values upto that length.

    ---regards,

    alex b justin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.