![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
hi,
This seems to be a simple, though it tortured me a lot. I have created a form in a Accordion. In the form i have form items. Every form item has a label and as text input box. In each formItem the textinput is on the rightmost. There comes a lot of gap from formitem leftborder to the start of form item label name. if I try to reduce the width of form item only the textinput gets affected but the said gap remains same.. I want the whole form with formitems to be aligned to left... Thanks in advance... |
| Sponsored Links |
|
|||
|
Hi,
this is the part of the code iam using ..iam also attaching the codes of the stylesheet... <mx:Form x="10" y="10" id="register_form" width="516.8" height="220.25" autoLayout="false"> <mx:FormItem label="Data Provider Name"> <mx:TextInput id="reg_name" width="200" toolTip="data provider (user defined) name" height="24"/> </mx:FormItem> <mx:FormItem label="Object Name"> <mx:TextInput id="reg_objName" width="200" toolTip="data provider object name"/> </mx:FormItem> <mx:RadioButtonGroup id="reg_attr_meth"/> <mx:FormItem label="Attribute List"> <mx:TextInput id="tbxRegisterAttributeList" width="200" click="enableAttributeList()" toolTip="comma separated data provider attribute list"/> </mx:FormItem> <mx:FormItem label="Method Name"> <mx:TextInput id="tbxRegisterMethodName" enabled="false" width="200" click="enableMethodName()" toolTip="data provider method name"/> </mx:FormItem> <mx:FormItem label="Refresh Rate(in minutes) :"> <mx:NumericStepper id="reg_refRate" minimum="1" maximum="100" toolTip="refresh rate in minutes"/> </mx:FormItem> <mx:FormItem horizontalAlign="left" > <mx:Button label="Register" click="register()" toolTip="register data provider with prefetch service"/> </mx:FormItem> </mx:Form> Form { /* control level styles*/ indicator-Gap:4; label-Width: 250; margin-Bottom: 10; margin-Top: 10; vertical-Gap: 8; background-alpha: 100; border-color: #000; border-style: solid; /*works on the form body */ border-thickness: 0; corner-radius: 0; drop-shadow: false; shadow-Direction: right; shadow-Distance: 2; theme-color: #FFC54E; /* doesn't work*/ color: #000; font-family: Arial; font-size:11pt; font-style: normal; font-weight: normal; margin-left: 0px; text-align: left; text-indent: 0; } |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise