:: Forum >>
Trying to right align text in an AW.Input
Hi everyone
I'm trying to align text to the right in an AW.Input control, but neither of the following are working:
inputObj.setStyle('text-align','right')
or
inputObj.getContent('box/text').setAttribute('align', 'right')
Can anyone suggest how this might be achieved?
Many thanks as always.
Will
Will
Monday, June 5, 2006
You just need to use setStyle with text-align:
inputObj.getContent('box/text').setStyle('text-align', 'right');
Carlos
Monday, June 5, 2006
Excellent...thanks.
Will
Monday, June 5, 2006
This topic is archived.
Back to support forum
Forum search