VBOX Layout issue with offset of a few pixels for the 2nd and 3rd components.

The VBox has 2 components, on clicking the toggle label on the left,
one component is hidden and the other is made visible.
How does one get rid of the padding at the top when the
2nd component is displayed.
At the end of the script are two images with one showing the small padding.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                 xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
          <fx:Script>
                    <![CDATA[
      protected function lblSearch_clickHandler(event:MouseEvent):void
          // TODO Auto-generated method stub
          _Debug("Inside "+functionName());
          if(tabnavDetails.visible == true) {
          tabnavDetails.visible = false;
          tabnavSearchDetails.height = tabnavDetails.height;
          tabnavSearchDetails.width = tabnavDetails.width;
          tabnavDetails.height = 0;
          tabnavDetails.width = 0;
          tabnavSearchDetails.visible = true;
          } else if(tabnavSearchDetails. visible = true) {
          tabnavSearchDetails.visible = false;
          tabnavDetails.height = tabnavSearchDetails.height;
          tabnavDetails.width = tabnavSearchDetails.width;
          tabnavSearchDetails.height = 0;
          tabnavSearchDetails.width = 0;
          tabnavDetails.visible = true;
                    ]]>
          </fx:Script>
          <fx:Declarations>
                    <!-- Place non-visual elements (e.g., services, value objects) here -->
          </fx:Declarations>
          <mx:HBox height="100%" width="100%">
                    <s:Label id="lblSearch" name="lblSearch" buttonMode="true" text="Toggle" color="#2133E4" height="5%" paddingTop="8" click="lblSearch_clickHandler(event)"/>
                    <mx:VBox id="vboxMainBody" name="vboxMainBody" width="80%" height="95%" borderColor="Black"
                                         borderStyle="solid" borderVisible="true" focusColor="#FAFAFA" >
                              <mx:TabNavigator id="tabnavDetails" name="tabnavDetails" visible="true" borderVisible="true" width="100%" height="100%">
                                        <s:NavigatorContent width="100%" height="100%" label="Media Details" >
                                        </s:NavigatorContent>
                                        <s:NavigatorContent width="100%" height="100%" label="Location and Eyeballs">
                                        </s:NavigatorContent>
                              </mx:TabNavigator>
                              <mx:TabNavigator id="tabnavSearchDetails" name="tabnavSearchDetails" visible="false" borderVisible="true" width="0%" height="0%" paddingTop="0">
                                        <s:NavigatorContent width="100%" height="100%" label="Search Details" >
                                        </s:NavigatorContent>
                                        <s:NavigatorContent width="100%" height="100%" label="Location and Eyeballs">
                                        </s:NavigatorContent>
                              </mx:TabNavigator>
                    </mx:VBox>
          </mx:HBox>
</s:Application>

Thank you very much. With so many parameters around and being new to flex, this is not easy. Spent an hour or so and then
decided to ask for help.
Appreciate it.
-Jumroo

Similar Messages

  • We had some accuracy issues with NI 5112 scope in one of the ATE and then I decided to perform self calibration using Labvidew vi to perform "niScope_CalSelfCalibrate(handle, "", 0);" function.

    We had some accuracy issues with NI 5112 scope in one of the ATE and then I decided to perform self calibration using Labvidew vi to perform “niScope_CalSelfCalibrate(handle, "", 0);” function.
    But it made it worse. I tried using option 2 to restore but it did not work.
    Could you pls advice me to resolve this issue.

    Hi Ana10,
    Are you using this digitizer with NI VideoMaster? if not you should probably post this in the Digitizer forums. That said I would suggest using the self calibrate function in MAX for this device rather than the LabVIEW API method just so that you can rule out any errors in correctly configuring the digitizer for self cal in LabVIEW. Also you should ensure that all inputs are disconnected before performing a self cal. If this still results in an error in calibration you could refer to the following document or arrange to return the digitizer to NI for external calibration.
    http://www.ni.com/pdf/manuals/370328e.pdf
    Hope this helps,
    Nick

  • Issue with not getting mail in sost for the PR Approvers

    Hi all,
    I have the following requirement
    Currently, requisitioner receives workflow email notification each time the PR has been released. If a PR has 3 approvers, the requisitioner receives 3 identical emails. The problem is that from the email alone, the requisitioner does not know if the PR has been fully released or not. After the first email, requisitioner may try to create the PO when in fact the PR is not fully approved yet.
    The case here is when the requisition is created, the mail is sent to first approver to release the requisition and when the first approver releases, mail is sent to next approver and so till all the approvers approve, finally after all the approvals it is sent to requisitioner.
    For this I have created an activity GET PR status where i am checking the condition based on release indicator.
    When the release indicator is '2' then the final notification is sent to the requisitioner.
    The process is working fine in dev system. When there are three approvers and all the approvers have same mail Id when i create the requisition and release manually in me55, I am able to see the mail in sost. This is actually done after running the batch program. But when the approvers have different mail Id's im able to see in swia but not in sost.
    Any help is appreciated.
    Thanks

    Hi rick,
    My bad, I have assessed the issue differently.
    Yes im sending a single mail to the requisitioner after all the approvals.
    But the issue here is after the requisition is created, the first mail is going to the first approver. When the approver releases, the mail that has to go to next approver is shown in swia.
    Now when i run the batch job, it has to appear in sost. But, it is not.
    The whole process actually working fine in DEV system but in QAS, it is not.
    Is is showing the following message when i manually release the order and tested
    Status
    StatusText
    Cannot process message; no node determined for [email protected]

  • Issue with cisco prime adding aceess point in the map and move in the final position

    I have an Cisco Prime infrastructure with a 2.1.1 version, I created a new campus, a new building, a new floor after that i want to add access point in one floor i can add 4 access ponit but in other one floor I add first 3 access points successful bunt when i try to add a new access point in the same floor tha access point it is added but I can not move it to the final possition on the map.
    the cisco prime shows the followging message
    Cannot find feature by (Mac/Name/ID) null
    how can I move the access point into the last possiton ?

    Duplicate post. 
    Go HERE.

  • Layout issue with af:tree component

    I am using af:tree component but I am finding layout issue with it. I have a requirement where in I need the tree to stretch to the available space but a horizontal and a vertical scrollbar comes up automatically. Is there a way to handle this issue?

    User, without your jdev version it's hard to help.
    Have you embedded the tree component in a stretch layout?
    Timo

  • [svn:osmf:] 10644: fixed some layout issues with the MediaPlayerWrapper.

    Revision: 10644
    Author:   [email protected]
    Date:     2009-09-28 09:36:33 -0700 (Mon, 28 Sep 2009)
    Log Message:
    fixed some layout issues with the MediaPlayerWrapper.
    Modified Paths:
        osmf/trunk/apps/samples/framework/MediaPlayer/src/com/adobe/strobe/players/MediaPlayerWra pper.as
        osmf/trunk/apps/samples/framework/MetadataSample/src/MetadataSample.mxml
    Property Changed:
        osmf/trunk/libs/VAST/

    Hi Chanh
    I have not come upto the level of testing the file generated with IRS.  Will keep you posted what happens there.
    Shannon,
    Apparently the new version of 1546868 fixes the issue for box number 7.  But if the amounts are huge in box numbers 1 or 3 or 15a (they use these in my client) then the amount overflows to the nearby box.  So we have again opened an issue again with SAP & will keep you posted withwhat SAP comes up with.
    Thanks
    Regards
    Morgan

  • Layout issue with Crystal Grouping

    Dear all,
    I have created a report with Graph and the records on the group level. The data and graph is showing perfectly fine however the problem is the layout.
    Right after the graph, data starts to show up, which means, the data adjusts itself either on page 1 or 2 by itself. That makes the report look really bad because half of the data is on the first page and half is on the second page.
    I have looked at the section expert options but did not find where I could say "Start section Group1b from new page".
    Could someone please guide me to the right place?
    here is how report shows up
    Page1
    Graph
    Data
    Data
    Data
    Page 2
    Data
    Data
    Data
    What I would like it to do is
    Page1
    Graph
    Page2
    Data
    Data
    Data
    Data
    Data
    The Group Footer is divided from Group 1a to Group 1p.
    Regards
    Jehanzeb

    I think I answered my own question while typing the question.
    I placed the graph on the group header and kept the footer for the data and clicked on Keep group together.
    It worked like a charm
    Regards

  • I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!

    I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!
    I have created a navigation system on the master pages and set the presentation to links only mode. I also have other links scattered throughout the program, like a linkable table of contents, etc. Some of them work, some of them don't. Not sure why. Anyone out there having similar issues? Or have any idea on how I can solve this issue? Any help would be appreciated!
    Thanks!

    Links should not create any problems in Keynote.  If they are set up correctly on text, the text will be underlined. Objects that have links will have a curved arrow bottom right, if you click the arrow a popup will display the link information.
    Try this repair for Keynote,  ensure you complete all the tasks and in the order shown:

    delete all the iWork applications if you have them, not just Keynote, using Appcleaner from Mac Update, its a freeware application

    empty the trash:  Finder > Empty Trash

    Shut down your Mac, wait 30 seconds, then power on the Mac, immediately after the start chime, hold down the Shift key
    When you see the grey Apple symbol and progress indicator (a spinning gear), release the Shift key.
    If you are prompted to log in, type your password, then hold down the Shift key again as you click Log in.
    4  
    Let the Mac fully boot up, it will take longer as the OS is repairing the drive

    when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive then First Aid tab and click  repair disc permissions

    when complete, restart the Mac normally, Apple menu > Restart

    install Keynote from the Mac App Store
    let us know if this helped

  • I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    I have a issue with my mac book pro. For some reason it won't stay powered on. I can't get past the apple loading logo. The battery is fully charged so it is not the problem. Can anyone tell me what the problem may be and how can i get it resolved?

    The battery is fully charged so it is not the problem.
    What happens when you use the MagSafe?

  • I have a ipad 1. I seem to be having a lot of connectivity issues. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop.

    I seem to be having a lot of connectivity issues my iPad. It takes a long time to load and sometimes will not load a page at all. I seem to be having issues with streaming in that it will play a song and just stop. It seems I have to turn it completely off and restart.
    Anyone had these issues?

    Settings > General > Reset > Reset network settings

  • I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITun

    I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITunes is corrupted or is not installed correctly.  Please reinstall Itunes"
    iMac, iOS 6

    HI,
    If your old version of iTunes is still working - then I sugest you stick with that.
    iTunes 11 is a lousy update - It will not retain your playlists, you can't find and delete duplicates... and a whole arry of oyher issues. (have a look around this forum to see how many issues IT11 gives people)
    Just a friendly advise and warning :-)

  • HT4236 so, i bought the iphone 5s..but i took a few photos with it 1st before syncing it to the computer and restoring backup of the contents of my old iphone.now, the new iphone's photos are lost.is there any way to get it back?

    so, i bought the iphone 5s..but i took a few photos with it 1st before syncing it to the computer and restoring backup of the contents of my old iphone.now, the new iphone's photos are lost.is there any way to get it back?

    No. When you restored the backup of the old computer it wiped out everything on the phone.

  • I am having issues with 360 degree rotation, I have an iPhone 5 and ios 6.0.2. I have read alot about this issue online and I found out that my issue is software. I want to know if and when apple will fix this issue?

    I am having issues with 360 degree rotation, I have an iPhone 5 and ios 6.0.2. I have read alot about this issue online and I found out that my issue is software. I want to know if and when apple will fix this issue?

    I had the same experience with a new iPhone 5 that I bought  last week. Did not have a chance to measure battery life before the 6.0.2 upgrade installed but I set up my phone exactly like my 4S and immediately started running out of power after short periods. Went to Xmas get together with fully charged 5 and 4S. Heading home the iPhone 5 shut down for low battery and the 4S had 65% power. Both phones had two half phone calls on then and no data usage.
    That night I fully charged the iPhone 5 and, without lighting it up, put it on my night table. Next morning I picked it up and looked at battery indicator and I had 42% charge with NO activity!
    Tried it again next night and wound up with 37% charge. (Slept longer).
    Today I called the carrier and reactivated the 4S.  Took the 5 to Apple Store and they kindly gave me choice of new replacement phone or refund. I took the refund. Uniquely, the Apple Store said it was Verizon CDMA phones that were coming back.
    The are other strings on this with temporary solutions, but from my experience with 7 firmware changes on an HTC 4G phone the problem will continue because the solution will be hardware caused. We are in the days where RTM means Rush to Market - not Release To Manufacturing.
    I fear the only solution is to either wait for the next model (I did not notice a really major change in performance over the 4S in LTE heavy Seattle area) - or switch to another manufacturer.
    It might be useful for these forums to indicate if you have a GSM or CDMA phone to see which have more problems.
    Discouraged....

  • Issue with activation.  It is asking for a serial number but I have a product key

    I am attempting to activate my adobe acrobat and it is asking for a Serial #, However it will not allow me to enter the alpha-numeric product key.

    I finally figured mine out. 
    The fact that they don't have phone support is incredible to me.
    In a message dated 4/21/2015 4:17:02 P.M. Eastern Daylight Time, 
    [email protected] writes:
    Issue  with activation.  It is asking for a serial number but I have a 
    product key
    created by krystalg31319208
    (https://forums.adobe.com/people/krystalg31319208)   in Acrobat Installation & Update Issues - _View the full 
    discussion_ (https://forums.adobe.com/message/7460080#7460080)

  • A few months ago I bought an imac 27 inch late 2013 ... ever since I have continuously problems with my external HDD that disconnect all the time and cause problems in other software (Lightroom, Adobe PS CS6) ...

    a few months ago I bought an imac 27 inch late 2013 .. §16GB - and flash memory) - 3,3 Ghz Intel Core 15
    ever since I have continuously problems with my external HDD that disconnect all the time and cause problems in other software (Lightroom, Adobe PS CS6) ... it is not  a HDD problem, because it occurs with my 3TB WD HDD (Time Machine), my 1TB WD and  1TB IOMEGA
    any one have a solution? anyone dealt with this problem in the apple care program?

    You are still under warranty and/or have AppleCare.  Call them.  Let them deal w/it.

Maybe you are looking for

  • How do you sync your old library to a new laptop?

    Hi, Im currently using a new laptop and wanted to know how can I sync the library I had in the previous one to the new one. When I connect the ipod to the new one, I get a message that says that my Ipod is connected to a different library or somethin

  • Can't see Garageband files on iCloud Drive

    I've updated my iPhone 5 to iOS 8.0.2 and the latest version of Garageband (2.0.3) for iOS and am having problems accessing Garageband files I've saved to my newly converted iCloud Drive.  Garageband on iOS still sees the files.  As does Settings ->

  • Getting WMP plug-in to work

    I installed Windows Media Player on my newly-purchased iMac Intel Core Duo to be able to view multimedia clips from CNN/Pipeline and listen to audio online from XM and Sirius. When I go those websites and start to try to run the clips I get the follo

  • Weblogic Server Nullpointer Exception

    Hi, Please let me know if any of you had come across the exception indicated in the below trace. java.lang.NullPointerException at weblogic.servlet.internal.ChunkOutput.writeStream(ChunkOutput.java:311) at weblogic.servlet.internal.ChunkOutputWrapper

  • How can I print my purchase history or get an invoice emailed again I deleted by mistake

    How can I get an invoice emailed again or print it via purchase history