cancel
Showing results for 
Search instead for 
Did you mean: 

Text alignment

Former Member
0 Kudos

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>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

How to set the length of the LABEL..I was usiong container as ROW layout

Former Member
0 Kudos

hi mahesh....

you should use the ui element "label".

there you will have the option to specify the width.

this is the length of the label.

you should also assign this label using the option label for.

---regards,

alex b justin

Former Member
0 Kudos

I have given ,but its not coming in the align order..

I have given label for of the label to the container..

Former Member
0 Kudos

hi mahesh.......

input field is : <cus no>

label name : "Cust No "

width : 11

labe; for : <input field name of <cus no> >.

---regards,

alex b justin

Former Member
0 Kudos

Thanks Austine,

I have given like tht only,but also its not coming in the right way..I was using the FM(customized) to save the data..The data is saving perfectly..

but the UI screen not looks so good..

I have created a container from the ROOTUI Inside tht container i used it as Row layout and the labels i set as Rowheaderdata and text field as rowdata..

I have adjusted as per ur replkies,thn also it is coming not in order..

Former Member
0 Kudos

hi mahesh.......

instead of row layout, give grid layout and set the number of columns to 2.

assign the label in col 1 and text field in col 2.

label name : "cust no ".

width : 11.

column : 1.

---regards,

alex b justin

Former Member
0 Kudos

Thanks a lot Austin..Thanks

It came in the right order..Thanks for spending ur precious time ..

Answers (0)