formItem direction: vertical, does not work... any idea why?

Hey guys... im basically trying to place my text box just below my formItem label and after some research, I discovered that I just need to add the formItem layout = "vertical"...

the code I have is

     for each(var item:Object in menuItems){
          var formItem:FormItem = new FormItem();
          for each(var category:Object in categories){
               if(item.Type == category.Id){
                    formItem.label = category.DisplayName;
                    formItem.setStyle("labelStyleName", "formItemLabelLeft");
     //----------->          formItem.direction = "vertical";

               }
          }
          var textArea:TextArea = new TextArea();
          textArea.text = item.Description;
          textArea.height = 50;
          formItem.addElement(textArea);
          menuForm.addChild(formItem);
     }

any ideas?

Not sure, I understand the need to use a container of form, but if you want an easy solution, try to use a FormHeading to show labels instead of set the FormItem label:


http://ns.Adobe.com/MXML/2009.
xmlns:s = "library://ns.adobe.com/flex/spark".
xmlns:MX = "library://ns.adobe.com/flex/mx" >
   
   
       
       
           
           
       

       
       
           
           
       

   

   

Peter

Tags: Flex

Similar Questions

  • I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    < re-titled by host >

    Take it to an Apple Store for repair or replacement.

  • Pencil tool (N) close the trace does not work, any idea?

    Pencil tool (N) close the trace does not work, any idea?

    with the completion of a path with the pencil tool, I don't get the small circle at the cursor level to close the path.

    Zoom click on the pencil tool in the tools Panel and you will see.

  • keyboard driver and the mouse does not, uninstall driver does not work, any ideas?

    Just bought a sony vaio and have the driver of keyboard and mouse not working, uninstall the driver does not work, no idea how to solve this problem

    Hello

    Exactly how you are trying to install the driver?

    We will analyze and identify the cause of the problem. You can connect a keyboard or an external mouse and check.

    Method 1: Hardware store.

    Run the troubleshooter of material and check if it works.

    Follow the steps to run the Troubleshooter:

    a. press the keys Windows + C on your keyboard to show the charms.

    b. type Troubleshooting , and then clicksolving problems under settings.

    c. now, type Hardware Troubleshooter in the optionSearch .

    d. click convenience hardware store to run the troubleshooter.

    Method 2:

    You try to install the drivers on the manufacturer's Web site and check with the question.

    http://www.Sony.co.in/section/support

    Note: Search the driver by using the model number and download the latest driver.

    Reference:

    Why Windows is not find my device?

    http://Windows.Microsoft.com/en-in/Windows-8/why-isn ' t-windows-conclusion-device

    Hope this information helps. Response with status so that we can help you.

  • Online games, when they pop up, they are so small, you can barely see them. I just downloaded Win 7. And I tried to adjust the themes Aero back to basics. But it does not work. any ideas?

    Yet once, when I go to online games and most of those who pop up a new window, the game is so small, that I can barely see it. How to fix this. Tried to compensate for the Aero themes, but it does not work. What I missed... Any ideas how to change these sizes?

    Hi MaureenAnn,

    Welcome to the Microsoft Answers Community Forum site!

    In order to resolve your issue, please provide additional information;

    1. What is the game you are trying to play?
    2. Faced with this problem while playing games?
    3. It works correctly when you play a game stored on a computer?
    4. Was there any recent changes/updates / drivers installed on your computer?

    If you are facing this problem, only with online games, suggest to enlarge the page by clicking on the icon zoom on the lower right of the browser.

    Allows you to change the screen resolution by clicking Customize desktop by right-clicking on the desktop.

    In addition, we suggest you to optimize internet Explorer and check if it solves your problem. To optimize internet Explorer, I suggest you visit the below mentioned link.

    http://support.Microsoft.com/kb/936213/

    I hope this helps solve your problem!

    Thank you best regards &,.

    Calogero - Microsoft technical support.
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

  • My attachment does not work any ideas?

    My attachment does not work when I send emails all ideas

    [Moved from comments]

    Hello

    What e-mail program (installed) or web mail service (Hotmail, Outlook.com, etc.) do you use?

    Don

  • I have a Toshiba laptop and my touchpad does not work any idea on how to fix

    touchpad does not work on my laptop, it is a toshiba...

    Hello

    Some have keys that turns off the pad and many Toshiba have card keys which have a control.

    Control Panel - mouse - Touchpad is here

    Panel of configuration-device - mouse and pointing devices Manager - double click on info pilot.

    If no joy go to Toshiba Support and download the latest drivers for your version of Windows and 32 or 64-bit.

    Go here and put in your info model and search for the drivers for your system

    Download - SAVE - go to where you put them - click on - RUN AS ADMIN

    Toshiba support and drivers
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp?NAV=download

    Toshiba Support Forums
    http://laptopforums.Toshiba.com/

    Contact Toshiba
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/navShell.jsp?CF=su_contact

    =========================================

    It's my generic how updates of appropriate driver: you mainly want to update or reinstall the touchpad drivers
    and ALSO to get the Toshiba value added Package for your version IF it is there.

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - Device Manager - Display Adapter - note the brand and complete model of your
    video card - double - tab of the driver - write version information. Now click on UPdate Driver (this
    cannot do anything as MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party with their
    own the software and drivers and all other main drivers that you have.

    Now go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restoration) and then of the manufacturer of the device
    (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for the BIOS, Chipset and software)
    updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after each installation.

    Always check in the Device Manager - tab drivers version you install actually shows up. This
    because some restore drivers before the most recent is installed (particularly that audio drivers) so install a
    pilot - reboot - check that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW on device at the DO NOT RUN THEIR SCANNER - manually check by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver in the Windows updates,
    This leaves ONE of Windows updates, but it will not install the drivers who are generally older and cause
    questions. If updates offers a new driver and then hide it (right click on it) and then go look for new ones
    manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • All of a sudden my button mute does not work any ideas?

    All of a sudden, the mute button on the left side of the phone does not work. You can click the button back-and-forth, but you do not see the Bell showing that the phone is cut or not muted. As far as I know that I can no longer cut the phone.

    You can check that the mute works even if the icon is not displayed?

    cold you have restarted the phone yet?

  • Have installed but does not work, any ideas?

    Have Windows Vista and Internet Explorer 9, the 32-bit version. Flash Player is installed, uninstall, restarted my computer, laptop and installed new corn cannot operate. It is being installed, but whenever I try to view what anyone who uses Flash Player, I am prompted to install it.

    You can see the animation Flash (red rotation 'f') to http://www.adobe.com/software/flash/about/ ?

    On IE9, tools, you have activated ActiveX filtering?

    On IE9, tools, manage add-ons, don't you see Shockwave Flash Object, and it is enabled?

    What files do you have in C:\Windows\system32\Macromed\Flash?

  • get a dotted line around .swf files in my flash site now. This is new from Firefox 3. With the help of 4 on a MacBookPro. tried the fix "style no outline. does not work. any help?

    Question
    get a dotted line around .swf files in my flash site now. This is new from Firefox 3. With the help of 4 on a MacBookPro. tried the fix "style no outline. does not work. any help?

    Ah, quite understand now that I added to my doc html

    < style type = "text/css" >
    {body
    background-color: #FFF;
    }
    "'object {outline: none ;}"} '

    < / style >

  • CS Design Standard disc 5.5 broken &amp; install Direct link does not work

    My Creative Suite 5.5 Design Standard drive does not work and my prior contact with Adobe, I was given the links below to help me install the program:

    http://prodesigntools.com/trials2/AdobeProducts/DSGN/CS5_5/Win32/DesignStandard_CS5_5_LS1. exe

    http://prodesigntools.com/trials2/AdobeProducts/MDIA/CS5_5/Win32/DesignPremium_CS5_5_LS1.7 z

    The aforementioned links files have completed download in the same folder (several times many attempts) and I can't get the installation program.  I get the following error message:

    "The game archive file from Adobe CS5.5 Design Standard is missing."  You need all parts in the same folder in order to extract Adobe CS5.5 Design Standard.  "Please download all parts.

    As I have made several attempts, (and the link .7z does more - access denied) all I can reason is I was maybe given the "Design Premium" link rather than the appropriate link "standard".  Otherwise, I can't figure out what I need to do differently to get this install to start.  Any ideas?

    Thanks in advance for your help.

    these links are incorrect.  one is to design standard and one for design premium.  They both must match, premium or standard that you want.

    in both cases, if you follow the 7 steps you can directly download a free trial here: http://prodesigntools.com/adobe-cs5-5-direct-download-links.html

    and activate it with your serial number.

    If you have a problem downloading, you follow the 7 steps, or your browser does not accept cookies.

    the most common problem is caused by failing to meticulously follow the steps 1, 2, and/or 3 (which adds a cookie to your system, allowing you to download the correct version of the adobe.com site).

    Unable to obtain the cookie translates into an error page displayed after clicking on a link on prodesigntools.com

  • directional button does not work, but all the others are there other keys on my laptop that I can use?

    My 'high touch' directional arrow key does not work.  The arrows down and side are.  I spilled some coffee on my keyboard yesterday and it's the only thing that doesn't work now.  Is there anyway that I can fix this?

    Thank you. I came across this one play me with the Fn key.  Being a computer laptop and everything.  There can be no separate numbers.

  • Flash does not work any browser

    I am at a total loss, Flash does not work on any browser, Mozilla, Opera, IE, SeaMonkey or Chrome.  I uninstalled and reinstalled, but nothing works.

    Thoughts?  Thanks in advance for any help.  Using Windows & Home Premium

    When you go here, you see the animated ball?

    http://helpx.Adobe.com/Flash-Player/KB/find-version-Flash-Player.html

    If this isn't the case, please try the following:

    1.) Uninstall using the uninstall program, as described here: http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-windows.html

    Reboot 2.)

    3.) download and install Flash Player here: http://get.adobe.com/flashplayer/

    What antivirus/antimalware stuff you have installed, if any?

  • Exchange image BG won't work - any ideas why not?

    http://designerandpublisher.com/test-BG/test-BG-page01.html

    Hi - I am trying to establish an exchange of background image where when the user visits the site and by clicking on the links, the background image changes.  You will see the soldier one there now and I have others.

    The JS file 2 HTML pages are linked to the does not seem to work [see above].

    No idea why it does not work, or is there a better JS file anyone can be aware of which isn't what I'm looking for?

    Thank you - Guy deaf

    Change of body to #swapBg as below:

    {#swapBg}

    background-repeat: repeat no.;

    background-attachment: fixed;

    left margin: 0px;

    margin-top: 0px;

    margin-right: 0px;

    margin-bottom: 0px;

    }

  • I have an Apple computer, use the browsers Firefox and Safari, use Comcast for my email. Lately, when the Firefox, my email does not work correctly. Why?

    I have an Apple computer, use the browsers Safari and Firefox. I use Apple mail and Comcast to my email. Lately, in the case of Firefox, my email does not work correctly. I get a message "your server license has expired. While usually, I can access my emails, I can't delete the unwanted emails. This problem will not occur when I use Safari and Apple mail. Is this a problem of Firefox or Comcast? Do you know what license is expired?

    Hello

    Many issues of the site can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

Maybe you are looking for