![]() |
![]() |
||||||
|
|||||||
| Tags: alignment, form, text |
![]() |
|
|||
|
I have a form with various fileds like:-
Name Address Fax etc., Now I want the labels in the form to be left aligned and the tex input fields to be aligned right, for the purpose I am using the following code:- <mx:FormItem label="Company Id" textAlign="left"> <mx:TextInput id="companyId" data="{model.companyId}" enabled="{model.comapanyIdEditable}" styleName="gradientRectangleSkin" textAlign="right"/> </mx:FormItem> This however doesn't seem to work, what is it that I am missing? Thanks in advance. |
| Sponsored Links |
|
|||
|
[q]Originally posted by: kilyas2007
I have a form with various fileds like:- Name Address Fax etc., Now I want the labels in the form to be left aligned and the tex input fields to be aligned right, for the purpose I am using the following code:- <mx:FormItem label="Company Id" textAlign="left"> <mx:TextInput id="companyId" data="{model.companyId}" enabled="{model.comapanyIdEditable}" styleName="gradientRectangleSkin" textAlign="right"/> </mx:FormItem> This however doesn't seem to work, what is it that I am missing? Thanks in advance.[/q] Have you set layout="Absolute" on your app? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise