layout - laying out formitems in flex -


for reason code not having desired effect of having labels left of textinput fields*(like in normal scenarios forms). labels appearing above textinput fields. make of them read only. advice appreciated

basically have text sitting above textbox instead of alongside left.

here code:

<mx:vbox width="100%" height="100%">  <mx:hbox>  <mx:formitem textalign="left" <mx:label text="test"  textalign="left"                 fontsize="14" fontweight="bold"/>      <mx:textinput  enabled="true" textalign="right"/> </mx:formitem> 

use label field of formitem.

<mx:formitem textalign="left" label="test" fontsize="14" fontweight="bold"/>         <mx:textinput  enabled="true" textalign="right"> </mx:formitem> 

if want read-only, can put editable="true|false" in textinput.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -