4 Apr 2012, 7:05 PM
Hi,guys, I used many labels in a window (without form) to show dynamic data, however, I found that all the text in the labels are in the left, and I want to align them in the right. Adding the style:"text-align:right" to label is useless, so I further try to use setText(Ext.String.leftPad('123',5,' ')) to manually add extra blanks to the text string in the label to align, but it seems to me that the extra blanks are trimmed. Is there any idea to handle this problem? Thank you very much.