Ashok,
Two answers. First, to show spaces in a UT Message use the < pre > and < /pre > tags (remove the spaces inside the brackets). Here's an example:
10 spaces before this line
10 spaces before THIS one also but enclosed in PRE tags.
Right-click on the message and look at View Source to see how this works.
Second, I imagine that when you weren't using Courier New in your editbox you picked a proportional font like Arial. With proportional fonts each letter is a different width so the same number of 'spaces' or 'letters' will give different widths.
Look for non-proportional fonts to display your text aligned as you wish it.
HTH
Barbara
>In previous message, I put 11 spaces before 222 in the first result but it does not show spaces before 222. So please consider as follows.
>
>>When I set editbox's fontname = 'Courier New', then the alignment
>>is ok like this.
>
>MyLabel1 : 111
>XXXXXXXXXXX222
>
>(Here X means space)
>
>>But when I set other fonts in edit box, It is not aligned properly like this.
>
>MyLabel1 : 111
>XXXXX222
>
>(Here X means space)