VerticalAlign VBox does not work when the child has the height in %

Hello

I got the code like this:

<mx:VBox id="vb1" verticalAlign="middle">
<mx:CheckBox .../>
<mx:VBox id="vb2" height="50%">
...
</mx:VBox>
</mx:VBox>

Effect is that verticalAlignment does not work for the 1st VBox (it seems to me that it is set to the default value - 'top'). It works when I remove property "height" of the 2nd VBox (or when I change to "50%" to "50" or any other number).

Hi Ibarim,

verticalAlignment won't work for VBox when you have two or more children and who are direct children. When you have only a single direct children of the VBox, then it will work. Normally we use verticalAlignment = "middle" HBox and VBox. As VBox sets out its children vertically this property does not work when you have children over 1.

You can try this

width="200" height="50%">


     


The above two combinations work correctly you only have immediate children... But if you see the bottom of case...

     width="200" height="50%" backgroundColor="yellow" verticalAlign="middle">                                  

Now, in the case above, you can see that VBox vb2 is vertically aligned middle in the vb1 vb2 VBox is the only direct child of VBox vb1. Whereas it is now in the vb2 VBox box and VBox vb3 are not aligned vertically in the VBOx vb2 as because VBox vb2 contains now two children.

Hope this is clear and make you understand the problem.

Thank you

Jean Claude

Tags: Flex

Similar Questions

  • Camileo P30 does not work when the 8 GB SDHC card is inserted

    Hello
    I just got a new camcorder Camileo P30.
    I also bought a card 8 GB class SDHC 6 100 'Lexar Premium' x
    And it does not work with the card inserted.

    Here are the symptoms:
    (1) when the card is not inserted I can do everything OK - take pictures and video, use the menus, it turn on and off.
    (2) when the card is inserted, the following occurs:
    2.1) I can't take pictures or video - it does not meet the pressed buttons.
    2.2) I can't access menus.
    2.3) I can't shut off again.
    2.4) I do not identify the amount of memory is available (shows only 0 recording time remaining).
    (3) I have tried different combinations of:
    3.1) Insert the card so that the camera is turned off.
    3.2) Insert the card so that the camera is turned on
    3.3) Insert the card while the device is switched on and in one of the menus.
    (4) the camera doesn't always work if I take the card again.

    During these expriments (#3), I was sometimes able to get a record time correct left (#2.4), but still #2.1 to 2.3 # were a problem.
    At one point, I was also able to "format" the card and subsequently, he showed a record very long time available (not matching only not to the size of the map) and #2.1 to 2.3 # were still in force (i.e. I couldn't use the camera or turn it off).

    Note to work around the #2.3 I took the battery.

    I was not yet looking for updated firmware, or connect it to the PC.

    Has anyone of you has met with such a problem?
    What did you do to solve it?

    Thank you.

    Hello

    Have you tried another card SDHC?
    I m not very well what is happening here, but I recommend you another card in this camcorder.
    I m P30 not owner but I have a: 30 and the camcorder reads without problems for 16 GB SDHC card. It works perfectly.

  • LAN does not work when the Cisco E1000 router hangs

    Original title: Download sp3

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! I bought recently a new Cisco E1000 router. My computer is a laptop model Lenovo 0769.

    I am running windows XP with sp2. The cisco software requires sp3. I called support of cisco and even they couldn't get to download sp3. My network is wireless on the router and I had to install from another laptop computer on the system. My LAN does not work when hooked. What do you suggest to me.

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi mdenrique,

    1. what exactly do you mean by LAN (Local Area Network) does not work? You get the error message?

    If you have not installed Service Pack 3, try the following steps:
    Step 1: Download Service Pack 3
    see How to obtain the latest Windows XP service pack .
    b. scroll the window and click on "Download now the Windows XP Service Pack 3 package" to download the service pack.
    c. save the file on the desktop.

    Step 2: Install Service Pack 3
    a. open the file downloaded and follow the instructions in the wizard to complete the installation.
    b. restart the computer once the installation is complete.

    For more information, see steps to take before you install Windows XP Service Pack 3

    Note: Once you have installed service pack 3, install the router and check if the problem persists.

    Step 3: To troubleshoot LAN, run home and small Office Networking Troubleshooter
    a. Click Start and then click Help and Support.
    b. under Pick a help topic, click Network and Internet.
    c. under network and the Web, click on resolution of networking or Web problems and then click on home and small Office Networking convenience store.
    d. answer the questions in the troubleshooter to try to find a solution.

    For more information, see the following articles:
    1 see How to troubleshoot a network in Windows XP
    2 see two resources to solve the problems of connection network in Windows XP

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Problem - VGA output VGA or HDMI port does not work when the connection to the input of your TV

    Problem of VGA output - using an acer aspire 5520-5912 trying to connect it to the TV input - connect S-Video works well - port however VGA or HDMI does not work - 1 when I plug the VGA cable that goes to an entry of RD Gr Bl on TV, my screen goes black - as soon as I unplug the cable and press FN + F5 I get the screen back - if I restart the computer in order to have the computer to identify the external screen it will just a black screen when the priming. Troubleshooting using no external monitor is identified unless I use the S-video connection.  The Hdmi connection gives me the same result that the VGA - convenience store attempt will identify the computer screen.  OPSYS Vista. Thank you

    Hi cdk14031


    You have set display up-to-date drivers installed?

     

    Step 1 :
    To resolve the problem, you can check if the uninstall and reinstall so help display drivers.
    Also check if you have any exclamation point or cross the marks on the sides of display devices listed in Device Manager.

    a. click Startand then click Control Panel.

    b. click system and Maintenance, click Systemand then click on Device Manager.
    Note If Control Panel is in Classic view, double-click System, and then click Device Manager.
    If you are prompted for an administrator password or a confirmation, type the password, or click allow.

    c. in the Manager device, expand display driver, display devices, right-click and then click on Properties and on the driver tab, click Uninstall.

    d. When you are prompted to confirm that you want to remove the device, click OK.

    e. restart the computer.

    After the computer restarts, the drivers will be installed automatically.

    Step 2:

    If the problem persists I suggest you to check if you install the latest updated driver on the manufacturer's Web site to help you.

     

    You can also check out the link below and check if you get an updated video driver. You can install updates in optional updatesvideo card driver.
    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly


    You can also check the support link and check if these help - below

    http://Windows.Microsoft.com/en-us/Windows-Vista/connect-your-computer-to-a-TV

    I hope this helps.

  • Microphone does not work when the headset is connected (Windows 7 with Realtek HD Audio).

    I am a user in advance, but this got to be one of the funniest problems ever. First, I had 2 headphones with microphone.

    1. An old helmet specified with microphone
    2. A new headphones A4Tech HS-100 with microphone that I just bought
    Problem:
    • Using the new helmet I bought, when I plug the microphone (pink jack even) it works, but also when I plug in the headphones (same headphone jack), the microphone no longer works (cannot receive all the sounds, even if it is detected clear as already plugged) and only the work of helmet.
    The most funny thing is:
    • The old headset works fine when I plug the microphone (jack Pink) and headphones (headphones) to my ASUS N81V laptop.
    • When I plug the microphone on my laptop and plug the headphones to my iphone, the microphone and the headphones work!
    • To experiment more, my laptop has a HDMI output connected to an external HDMI monitor, when I connect the microphone on my laptop, only it works, but as soon as I connect the headphones to the headphone jack on the external HDMI monitor, the microphone works again!
    Things, I tried and does not work:
    • Maximize the microphone amp
    • Separate entry made in the audio Panel
    • Ensure the microphone is not dumb anywhere
    • Install the latest drivers from the manufacturer and realtek Web sites
    I want to get both my mic and headphones works when plugged the laptop, what exactly is the problem? Any help? Thank you very much.

    I have a similar problem with my netbook a built-in microphone running Windows Starter, that's how mine to get the fix:

    Control Panel - his - recording tab - click on Configure button - set up micro - Configuration of the Microphone Wizard.

    You'll see three choices 1. Headphones Microphone 2. Table microphone 3. Others.

    All what I have to do to fix my netbook is to select the desktop instead of headphones with Microphone Microphone (it has been revived somehow).

  • Smartphones blackBerry BUG: camera does not work when the lamp is on

    BlackBerry PRIV model STV100-1
    AAE016 (aospl-msm8992 69 qc8992_sfi-user output software version
    Android version 5.1.1
    Last updated on 1st March.

    Previous version of the software had the same problem and can be reproduced like this:

    (1) to any application other than the camera, drag down twice from the top and turn on the flashlight.
    2) press the squarre and switch to the camera application, which says now: "camera not available."
    3) slide down twice, turn off the flashlight and switch camera to the photo app, now there is no message, but the camera still does not work.

    (4) use the table to any other application, then the table to return to the camera application, which now works fine now that the lamp is off.

    If you attempt to try the above, when you are in the camera app, once you drag down twice, there is no icon to turn the flashlight.

    Hmm, that's an interesting and scary use case, please provide

    Someone else see this thread, if you want this functionality please like this post to express interest

  • V11.0.12 XI and IE11 Acrobat. Hyperlink inside the PDF does not work when the PDF file is opened with any browser.

    V11.0.12 XI and IE11 Acrobat. Hyperlink inside PDF is a blue rectangle and links to another PDF. When PDF is opened in Acrobat, the link works. When opened in any browser (IE, Firefox, Chrome) the link does not work. How can I get the link to work in browsers?

    I think it is a bug. I uninstalled Acrobat and reinstalled Acrobat v11.0.0. I tried the link and it works properly. Then, I installed each both updated and tested the hyperlink. Update 1-10, that the link works. However, when the 11.0.11 update is installed, the "Go to a page in another document" hyperlink stops working in browsers. V11.0.12 installation does not solve the problem. If I uninstall Acrobat and install v11.0.0 with updated v11.0.10, everything works fine.

  • U3014, DDM does not work when the value of DP to 1.2 (this is normal)

    The AMD Radeon HD 7700 supports DP1.2, but if I do it with the OSD menu, the DDM (Dell Display Manager) does not work? But the return to normal if defined DP1.2 on disable. Is this a bug or I made a mistake?
    Serial number U3014 P1V6N42N444L
    AMD Radeon HD 7700 Series
    Windows 7

    * Found the answer. Open the MDD for the U3014 Manual:

    FTP://FTP.Dell.com/manuals/all-products/esuprt_electronics/esuprt_Display/Dell-u3014_User%27s%20Guide2_en-us.PDF

    * "NOTE: MDD is not supported in DP1.2 / STD (Daisy Chain).

  • "Wireless radio does not work" when the Diagnostic tool is run

    Recently, I unplugged my C309a HP Photosmart Premium and he moved to a new Tablet next to my main computer.  Wireless network card works perfectly before the move, and now it does not detect networks to connect to.  I have run the wireless network test report and it says "Wireless Radio does not work.  Contact HP support. "I can do here to help solve this problem, or I have to pay for repairs somewhere?  I want to believe that this HP product can support more than a simple passage of one shelf to another...

    Any suggestions would be greatly appreciated!

    * Note * I know my network works correctly (because I'm connected to it now...).  My computer detects my network as well as several others in the neighborhood.

    Is the printer still under warranty?  If yes you can not he repaired, but it can cost almost what a new printer costs.  Here is how to contact HP.

    Your printer must be able to work with USB and it should also be able to be connected to your router with an Ethernet cable.

  • addInstance does not work when the table has no rows

    I am trying to add a line to an empty table (no line) and it seems that addInstance does not work.

    table. Row. instanceManager.addInstance (1);

    Is there a different syntex if the table has no line?

    Thank you

    Try to use the shortcut to underscore for the instance Manager, it allows you to get items that do not yet exist.

    Then

    table.row.instanceManager.addInstance (1);

    becomes

    table._Row.addInstance (1);

  • Music app does not work when the screen is closed!

    Android6.0.1

    Compact Z5.

    When I listen to the music in the music of sony and closed the screen app, music will play a minute and stop, even when I turn the offshore endurance and add it to the white list, but it doesn't work.

    Other applications that can play music also encounter this problem. Some applications of music need wifi, they cannot work when the screen is too closed.

    What can I do about it?

    I think also ultra endurance disables many apps, so my guess is that you have a 3rd party app that close somehow your applications when the phone goes to sleep.

  • "mouseout/mouseouthandler()" does not work when the mouse leaves the scene

    AnimateCC. How to detect what mouse leave banner?

    Button has the same size as the banner

    Canvas_mouseOut

    Try switching the mouse banner cursore, Panel of exploration

    My code can't handle this problem:

    ////////////////////////////////////////////////////////////////////////////////////

    This.Stop)

    frequency of var = 20

    stage.enableMouseOver (frequency);

    this.btn.addEventListener ('mouseover', mouseOverBanner.bind (this));

    this.btn.addEventListener ("mouseout/mouseouthandler()", mouseOutBanner.bind (this));

    function mouseOverBanner() {}

    this.buynow.gotoAndPlay ('over')

    }

    function mouseOutBanner() {}

    this.buynow.gotoAndPlay ('out')

    }

    ////////////////////////////////////////////////////////////////////////////////////

    The solution is to target the whole canvas instead of a button to fill the canvas; This also works when the ad inside an iFrame:

    .addEventListener canvas("mouseover", mouseOverBanner.bind (this));

    .addEventListener canvas("mouseout/mouseouthandler()", mouseOutBanner.bind (this));

     

    function mouseOverBanner() {}

    this.buynow.gotoAndPlay ("over");

    }

     

    function mouseOutBanner() {}

    this.buynow.gotoAndPlay ("out");

    }

  • [URGENT]! rectangular selection tool Illustrator does not work with the height adjustment!

    Other tools work well by also the single rectangular selection tool a problem whenever I try to adjust the size.

    I tried ' see the box (shift + command + B) limit, but it still does not work.

    Please help me with this problem and find attached photos.1111.jpg

    The photos above are the captured screen, we could find on PC but on Mac size is not adjustable. :-(

    Moves the discussion to Illustrator.

    Thank you

    Atul Saini

  • Satellite P205: Touchpad does not work when the new adapter is connected

    I got a replacement charger for my Satellite P205 but put it has A 4.19 instead of 3. 95 has, they said that it didn't matter, but since I use the charger, I have the following problems:

    -Does not load properly and turns off after an hour.
    -The touchpad has a mind of its own when the charger is connected (windows opens if hovering over button, through the screan jumps when I try to move it, freezes and disappears)
    -Charger Word to say the laptop plugged in but not charging

    What can I do to remedy these problems, the laptop works perfectly when the charger is not plugged in?

    See you soon!

    Hello

    I guess that the touchpad worked correctly in the past with the former sector adapter.
    Is this good?

    Well, it seems that these questions are related to the new power adapter and I would recommend using a 100% compatible adapter.

    Check the AC adapter s old part number and if the issues could be resolved using this adapter.

  • Satellite A30 161 does not work when the battery is installed

    Hello

    I have a problem with my Satellite A30-161. The laptop works perfectly without the battery installed. With the battery installed and the AC adapter plugged the power supply and battery (light orange) are turned on.

    When turn on/off, as soon as WXP loaded the battery light turns off and the laptop turns off. With battery only laptop does not start. There is no dirt on the heat sink and it doesn't seem to be a problem with the connector DC and power lights still on.

    Any ideas?

    Hello

    This behavior is not easy to give an accurate diagnosis, but according to your description, I assume that there is a problem of electronic power supply. Just using special diagnostic tool, it is possible to check if there is a problem serious.

    To be honest, I don't think you can do it alone. The only thing you can try is to test it with new battery. Maybe you should contact the service authorized in your country. talk with them and you will see what they say.

Maybe you are looking for

  • I see a button 'lock' on the taskbar - what the heck is "Pocket"?

    What is 'Pocket' and why should I care?

  • Tecra A2 - Touchpad does not always work

    The touchpad works when it feels like it! The pressure makes no difference, and the buttons are fine. I need to swap out or is there another problem?

  • Another SSD Y700-15

    Hey everybody! I noticed that the Y700-15 can manage (two, I think) additional SSD. If so, that fits? What is mSATA? or normal 2.5 "? don't want to buy the wrong (s)

  • can't intall sims 2 on my pc

    Please help I tried as much as I know, I have Vista Home Basic and I can't install sims 2, it installed sims1 sims 2 works fine on another pc, sand I have all the right graffics and 32bits etc. for it BUT the 2 mistakes happen, something like this...

  • Security WRT610N

    I have a few questions about security for my WRT 610N I'll put up security for a WRT610N in a small business environment. I would like to change the password for daily, weekly or monthly (do not know immediately). I just would run in the same process