Adobe Dreamweaver Forums



Last 10 THreads :         problems linking PDFs (Last Post : Mantzi - Replies : 2 - Views : 3 )           »          VERY newbie question (Last Post : cashcrate13 - Replies : 0 - Views : 1 )           »          Undesired offset with Flash object (Last Post : TC2112 - Replies : 1 - Views : 2 )           »          Code that can effect two movie clips (Last Post : NedWebs - Replies : 1 - Views : 2 )           »          pop up blocker jacking my login (Last Post : reelhero - Replies : 6 - Views : 7 )           »          RoboHelp 7 Skins (Last Post : HelpDev - Replies : 7 - Views : 35 )           »          Clock .getUTC not working (Last Post : kglad - Replies : 3 - Views : 4 )           »          Changing RadioButton Label (Last Post : justintoflex - Replies : 2 - Views : 5 )           »          Table Borders MIssing in JavaHelp (Last Post : soxmann - Replies : 3 - Views : 8 )           »          cfimage error (Last Post : masoud_amen - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-21-2008, 02:53 PM
gallaharsha
 
Posts: n/a
Diggs:
Default formitem layout problem

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...



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-21-2008, 05:24 PM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: formitem layout problem

Please share simplified yet "complete" sample code, and this will be resolved quickly.
Reply With Quote
  #3 (permalink)  
Old 11-24-2008, 07:15 AM
gallaharsha
 
Posts: n/a
Diggs:
Default Re: formitem layout problem

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;

}

Reply With Quote


  #4 (permalink)  
Old 11-25-2008, 07:43 AM
gallaharsha
 
Posts: n/a
Diggs:
Default Re: formitem layout problem

ya solved it..
label-width was the culprit...
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk