Hi all,
I am not able to align Label text to the right.
(In HTML style we have text-align).Like this in Ext Js which property i have to add?...
I have tried LabelStyle it is not working.And also tried with CSS it is also not working.
Please review my code and help me.
<style>
.test-lbl-text-align
{font-weight:bold;color:red;text-align:right;}
</style>
Ext.onReady(function()
{
var <%=this.ID%> = new Ext.form.Label(
{
cls: 'test-lbl-text-align',
text: 'test',
labelStyle: 'text-align:right;borderolid 1px black;',
width:'200',
height:'200',
renderTo: document.body
});
});
Thanks in advance.
Regards,
Arul Prakash.M