Hbox in view stack does not update width

Hi there,   I'm working on flash builder and I have four hboxes nested inside a view stack. I dynamically populate each hbox with images grabbed from the database. For some reason only the visible hbox correctly updates its' width while the other 3 hbox takes on the width of this one so I end up with all four hbox having the same width. This is a problem when I have lots of images in one than the other and some of them gets cut off.
The hboxes do not have scroll bars as the viewstack has a mouse easing scroller function attached to it - the hbox scrolls according to the position of the mouse.
Am I doing something wrong here?
<mx:Canvas height="110"
                   width="663"
                   visible.loginState = "false"
                   x="10"
                   y="577" horizontalScrollPolicy="off" verticalScrollPolicy="off" id="viewStackContainer">
            <mx:ViewStack id="myViewStack" creationPolicy="all"
                          borderStyle="none">
                <!-- Books Library -->
                <mx:HBox horizontalAlign="left" verticalScrollPolicy="off" horizontalScrollPolicy="off" verticalAlign="middle" horizontalGap="0" id="books" />
                <!-- EBooks Library -->
                <mx:HBox horizontalAlign="left" verticalScrollPolicy="off" horizontalScrollPolicy="off" verticalAlign="middle" horizontalGap="0" id="ebooks" />
                <!-- Recordings Library -->
                <mx:HBox horizontalAlign="left" verticalScrollPolicy="off" horizontalScrollPolicy="off" verticalAlign="middle" horizontalGap="0" id="recordings" />
                <!-- Readings Library -->
                <mx:HBox horizontalAlign="left" verticalScrollPolicy="off" horizontalScrollPolicy="off" verticalAlign="middle" horizontalGap="0" id="readings" />
            </mx:ViewStack>
        </mx:Canvas>

Hi thanks for your reply. As the hbox gets populated i need it to resize itself. Once each hbox has been populated with the images I attach a function to the viewstack which allows me to scroll the hbox with mouse position - so it scrolls horizontally depending on where the mouse is in relation to the viewstack. So as you can see I need by this point for each hbox to have resized in order to correctly calculate my scrolling function.  The bizarre thing is the selected Index hbox displays all the images but the rest of the hboxes takes on the same width as this one and this is a problem because some of my other hbox contains more images.  As a test I set the selected Index of the viewStack to be the third Hbox, then I restarted the application and now all the hbox takes on the wdith of this one.   I am creating a library of thumbnails which is dynamically driven. It's not possible for me to predetermine the width of each. Do you have any suggestions for this?

Similar Messages

  • IPhoto main view window does not update

    I have a problem with the recent version of iPhoto 9.3 (650.39). Sometimes, if I return from a full view of an image, and then try to go to a different folder, album or anything, the main window view does not update. If I resize iPhoto, the main window stays the same.
    I need to restart iPhoto to fix this problem. My Mac is a 2011 iMac with the latest Version of OS X 10.7.4
    Anyone has a similar problem?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    If it does work in Firefox Safe-mode then disable all extensions (Tools > Add-ons > Extensions) and then try to find which is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When in album view it does not update to the next track.

    It's still on an album that I played weeks ago.
    Can Iget it to update with each new track?
    Thanks.

    I am not sure however I suspect live view is for viewing the page you are working on. You would have to open the other page to see it in live view. The browser on the other hand is doing what it is designed to do. I jump back and forth all the time from live view to the browsers I have installed.

  • Lighroom 5.4 Develop View does not update when changing sliders

    Just updated to Lightroom 5.4 (using Adobe CC) on Win8. After going to "develop view" on any photo and changing the exposure or any other slider does not update the main view of the photo. It does however update the thumbnail in the film strip and the second monitor window correctly. I've tried everything I can think of:
    (1) downgrading to LR 5.3 (which used to work)
    (2) forcing 1:1 and standard preview regeneration
    (3) uninstalling the re-installing Lightroom (both 5.3 and 5.4)
    (4) Optimizing catalogue
    (5) Removing the Adobe AppData folder
    (6) Creating a brand new catalogue with zero photos, importing a single photo and trying to change exposure/contrast on that
    None of these result in the develop view of the picture changing when I change the sliders.
    Do you guys have any experience with this?

    The chances of me suspecting monitor color profile causing bugs in LR was very slim. =)
    So were mine, especially when only the view itself doesn't work, but all other stuff works fine. Well, I probably have really not good colour profile, luckly you can change it after the lr is launched - it won't cause the problem untill next restart (at least works for me). And hopefully once my calibrator arrives lr will work ok with its colour profiles..

  • Mail Viewer Window Does Not Open on Launch. Mail Will Not Quit. MAIL BADGER

    <UPDATE> After detailing all of the problems below, I discovered that trashing the Mail Badger bundle solved all of the below problems. I am still posting this just in case anybody else has this problem.
    Problems:
    1. When opening mail.app, the program opens, but it does not launch a Viewer Window. I can open a viewer window manually from the File menu, however.
    2. When quitting mail.app, it will not quit. It does not matter whether I hit command-Q, or Mail>Quit Mail, or right-click on dock icon and click Quit. The only way for me to quit is Force Quit. No matter what Quit command I execute, nothing happens. The Viewer Window does not close. (The Viewer Window will close on command, however, either by clicking the red 'x' or by command-W, or by File>Close.
    3. Cannot send mail from mail.app. Upon clicking "send" on a new email, it just goes to the Outbox and sits there forever. I can try sending the email again from the Outbox, but nothing happens. (I have 4 gmail accounts, with a couple thousand messages between them. There are no problems with port configurations or smtp servers or anything like that - I am fairly certain anyway because nothing has changed w/ regard to the account settings between the time it was working and the time it stopped working.)
    4. After minimizing the Viewer Window, clicking on the mail.app dock icon does not restore the Viewer Window. The only way to restore the Viewer Window is to click on the Viewer window itself in the dock, rather than clicking on the application icon.
    Notes: I have installed 10.4.10. I have also installed Safari Beta 3.0.2
    I previously installed Safari Beta 3.0, then uninstalled it and upgraded to 3.0.2. I don't recall when the problems started, (under 3.0 or 3.0.2), but they all happened at the same time (rather than one at a time).
    I have uninstalled Safari 3 and reverted to Safari 2, but this does not fix the problems.
    I have repaired disk permissions.
    I have booted from the OS X Install disk and repaired my startup disk.
    I have not had any problems with Safari 3 "hanging" on install, thus corrupting the WebKit, as described in other threads.

    I had the same issue and resolution. Spotlight search for "Mail Badger" and deleting everything resolves the issue.
    I'm also running Safari 3.0.2 and 10.4.10...
    I've emailed the developer to let him know about it..
    15" MacBook Pro (C2D) SR   Mac OS X (10.4.10)  

  • Multiclip editing does not update Canvas window with active angle

    Hi,
    I am trying to do some multiclip editing but for some reason when cutting between angles the canvas viewer does not update with the video. Once I stop playback the cuts are all created properly and the video changes when playing back again. However, when editing the video does not change to the active angle. The audio changes but the video does not.
    I have the multiclip playback setting in RT enabled and the canvas and viewer windows synced and matching each other when playing back, and video + audio is set in the sync menu.
    I'm now stuck! and would greatly appreciate some help.
    Thanks
    Phil

    Welcome to the family.
    I don't mean to brush you off because I understand your frustration. But what we know about mutliclip is that it really does work, if you follow the rules completely. We also know that most of the "multiclip doesn't work" posts are resolved by encouraging the user to be objective and to simply recheck the setup steps in the manual, one at a time. (Editorially speaking: There are too many of them, there are too many stupid gotchas in the multiclip setup. True. Hope springs eternal that FCP6 may fix many of these things. It should be a one-click solution.)
    You can search for multiclip here and, after filtering out the nonsense from elitists like me, you should be able to detect something in your configuration that might be keeping you from getting the performance you are expecting.
    bogiesan

  • Name in profile does not update

    Hi, I changed my name in my profile just to see what it would look like and then I changed it back, but it looks as though it does not update. I tried several times doing this and same results. I need my Skype name to how I save it on my profile.
    Please assisst.
    Thank you.
    Maurice.

    I understand what you're asking, however the PowerShell script doesn't fix the underlying sync issue. It only masks it by resolving it for that single time. You'd have to re-run it constantly to keep Site Collections updated.
    If you run stsadm -o sync deleteolddatabases 0, you run that once and let the UPA -> SharePoint sync timer job complete. The UPA -> SharePoint sync incremental timer job will pick up after that and regularly keep the user's up-to-date.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Paged dataset does not update it's child dataset

    My paged dataset works great, except on refreshing it's child
    dataset, when sorting or navigating from page to page.
    Clicking on the record in the paged dataset does return the
    correct child dataset record. Clicking on any of the column headers
    to sort the paged dataset or clicking on any of the page functions,
    i.e. Next Page, Previous page, does not update the child dataset
    record.
    The first record of the paged dataset is set to 'selected',
    after sort or page navigation function.
    What am I missing?
    Here is the code that updates the child dataset record:
    onClick="pvPOrders.setCurrentRow('{ds_RowID}');"
    Here is the sort:
    onclick="dsPOrders.sort('PONUM','toggle');"
    Here is the page navigation:
    onclick="pvPOrders.nextPage();"
    There are no observers. The code can be viewed here:
    http://codeshare.ulatu.com/mare3184

    Hi Doug,
    You shouldn't have to do the manual setting of the
    currentRow. The fact that your code snippet here:
    http://codeshare.ulatu.com/mare3184
    Has your PagedView data set pvPOrders depending on dsPOrders
    means that when you set the current row on pvPOrders it just
    forwards the set request on to dsPOrders.
    I'm a bit confused by the other snippet you posted here:
    http://codeshare.ulatu.com/marc0722
    because I don't see any mention of a PagedView in that
    snippet. In any case, I mocked up something that should be similar
    to your situation, and it seems to work just fine:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <script src="includes/xpath.js"
    type="text/javascript"></script>
    <script src="includes/SpryData.js"
    type="text/javascript"></script>
    <script src="includes/SpryPagedView.js"
    type="text/javascript"></script>
    <script type="text/javascript">
    <!--
    var dsStates = new
    Spry.Data.XMLDataSet("data/states/states.xml", "/states/state");
    var dsCities = new
    Spry.Data.XMLDataSet("data/states/{dsStates::url}",
    "/state/cities/city");
    var pvStates = new Spry.Data.PagedView(dsStates, { pageSize:
    5 });
    //-->
    </script>
    <style type="text/css">
    <!--
    .hover {
    background-color: #FFCCFF;
    .select {
    background-color: #6699FF;
    -->
    </style>
    </head>
    <body>
    <input type="button" value="Prev"
    onclick="pvStates.previousPage()" /><input type="button"
    value="Next" onclick="pvStates.nextPage()" />
    <p>Select a State:</p>
    <div spry:region="pvStates dsStates">
    <div>{pvStates::ds_PageNumber} of
    {pvStates::ds_PageCount}</div>
    <ul spry:repeatchildren="pvStates" spry:choose="">
    <li spry:when="{pvStates::ds_RowID} ==
    {dsStates::ds_CurrentRowID}" spry:setrow="pvStates"
    spry:hover="hover" spry:select="select" spry:selected="">
    {pvStates::name}
    </li>
    <li spry:default="" spry:setrow="pvStates"
    spry:hover="hover" spry:select="select">
    {pvStates::name}
    </li>
    </ul>
    </div>
    <p>Cities for the currently selected state:</p>
    <div spry:region="dsCities"
    spry:repeatchildren="dsCities">
    {name}
    </div>
    </body>
    </html>
    --== Kin ==--

  • SceneBuilder 2.0 does not update when refreshing CSS

    Hello,
    when I edit my CSS-Files then the SceneBuilder 2.0 does not update the new content. I have to reopen the Builder to see my new changes. Furthermore the SceneBuilder-Preview (Strg+P) shows diffrent styled controls then the normal SceneBuilder-View. It seems that the css files does not affect the application in the PreviewPage- Thats very frustrating and ist wasting a lot of my time.
    In SceneBuilder 1.1 it works fine. But I need the 2.0 version because of JavaFX8. Is there any solution? Maybe a workaround?
    Pls look at this:
    http://imageshack.com/a/img11/5815/pfbn.png
    Volrath

    CSS file watching has not been re-established in Scene Builder 2.0 yet : this will come soon.
    The preview issue is a different one : as suggested by David, please file a bug.
    Keep in mind that Scene Builder 2.0 is on-going work...
    and Scene Builder 1.1 is the production version.

  • Cisco Prime does not update devices in "Device Work Center"

    Hi everyone.
    I have a problem that is bugging me a lot.
    I'm working in Cisco Prime 2.0 and we have a big problem.
    If I run a discovery and find all a lot of switches, the switches is discovered and are fully managed via SSH and SNMP.
    We are using both 2960S, 2960x and a lot of old 2950:s.
    We are replacing all 2950:s to some new 2960 model.
    The big problem is that when we replace the old 2950:s we reuse the same IP-address (so our customly built programs can find them again), Cisco Prime DOES NOT update the model of the switches. The switches are still in the Device Work Center and are still in recognized as a 2950.
    If I mark the switch to view more info in Device Work Center the Unique Device Identifier says that it is a new 2960s/x but the model is still recognized as a 2950 so Prime can obviously find a manage the switch and update "some" info, but not the device itself.
    Does someone have the same problem or do I need to delete all 2950:s and do a new discovery so Prime understand?
    EDIT
    I have now an example.
    Please look at the image.

    Hi,
    I ran into same issue,Yes this is known issue,there is a open defect id and is fixed in upcoming releases.
    I deleted existing devices and rediscovered,but note you will loose all your configurations related to existing deive model.
    Regards

  • Apple Mail read status does not update correctly

    I have one iMac running Mavericks and using Apple Mail to run three IMAP accounts provided by a local Apple Mountain Lion Server.
    It exhibits two issues:
    Firstly it fails to refresh the view automatically in the message viewer window.
    The header at the very top of the window will update live when a new message comes in so that it says "X Messages (Y Unread)" with the correct numbers. The list of messages does not update unless you switch mailboxes, then switch back again. Then they appear instantly.
    The second and more critical issue is that the read and unread status of messages is not updating correctly at all. Refreshing the view make no difference. Two of the three accounts are shared with 6 other iMacs running Mountain Lion and Snow Leopard. None of these have an issue.
    I have deleted and re-added the accounts several times, I have tried a completely clean new user account. Sometimes the first issue goes away but it returns after a short time.
    The next step would be to erase the whole Mac but I am reluctant to go to the hassle as I have a suspicion that this will not make a difference and that there is a glitch with Mail on Mavericks. I have run all updates.

    Hi Brenn,
    To narrow down the issue, we need more investigation:
    1.Does the issue occurs only in Category view? Please check if user 1 set the view to Date and email read status update.
    2.Does the issue occurs to user1's own mailbox with the same setting as shared mailbox?
    3.If the shared mailbox is in cached mode, please check Account Settings > Change > More Settings... > Adwanced > Use Cached Exchange mode > check Download shared folders.
    4.Please switch to online mode for shared mailbox and test the issue.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • The view 'cpdpopupeditactionsview' does not exist.

    I just installed UCM without any issues as far as I could see, but when I log in as sysadmin at http://localhost/idc/ I always get a popup box saying:
    "The view 'cpdpopupeditactionsview' does not exist."
    Looking for the cpdpopupeditactionsview string in the UCM installation directory gives me this:
    grep -i cpdpopupeditactionsview -R $UCM
    $UCM/server/custom/ContentFolios/templates/idc_folio_display.js:          "CpdPopupEditActionsView", idc.folio.display._popupEditActions);
    $UCM/server/custom/ContentFolios/templates/idc_folio_display.js:     idc.folio.util.loadFolioView("CpdPopupEditActionsView", null, null, callback);
    $UCM/server/weblayout/help/admin/folios_admin/wwhdata/js/search/search0.js:if(x.t("cpdpopupeditactionsview"))y.f("7,1");
    $UCM/server/weblayout/help/admin/folios_admin/wwhdata/java/search.xml:<i t="cpdpopupeditactionsview" l="7#1"/>
    $UCM/server/weblayout/help/admin/folios_admin/page_1_08.htm:&lt;a name="wp1090240"&gt; &lt;/a&gt;&lt;div class="pSmartList1"&gt;&lt;li&gt;CpdPopupEditActionsView&lt;/li&gt;&lt;/div&gt;
    $UCM/server/weblayout/resources/folios/util.js:          "CpdPopupEditActionsView", idc.folio.display._popupEditActions);
    $UCM/server/weblayout/resources/folios/util.js:     idc.folio.util.loadFolioView("CpdPopupEditActionsView", null, null, callback);Anyone know why this is happening?
    Thanks

    Hi
    This issue is resolved by manually uninstalling the ContentFolios component via editing the database directly. This only works if the client does not have any ContentFolio data - created or migrated; if they do have existing Content Folio data this will cause great harm to the integrity of their collection.
    1. Uninstall the ContentFolios component.
    2. Delete the following tables from the database;
    CpdArchivedLinks, CpdBasketLinks, CpdChangeHistory, CpdLinks
    3. Delete the entry for ContentFolios from the Config table.
    4. Restart the Content Server.
    5. Install the ContentFolios component.
    Hope this helps
    Thanks
    Srinath

  • My firefox beta 12 using Linux platform does not update to firefox RC1 via the "check for update" function. I know windows' beta version had this fixed, when would Linux get similar support ?

    Current platform : Linux
    Current firefox version : Firefox 4 beta 12
    Issue : does not update to RC 1 using the check for update feature.
    Background : previously downloaded beta 8 and then it automatically updated to beta 12 using update features but for RC1, it does not.
    I know users under Windows platform had same problem but was resolved and they can now update via check for update feature.
    Please implement for Linux users too.
    Thanks !!

    If you can't update then you can download and install the full Firefox 4 RC version.
    * http://www.mozilla.com/firefox/all-beta.html

  • Can't add music my iPhone from iTunes.  When I try to drag a song over to my phone, I get the circle w/ the syncing line through it, but it does not update/load.  [Manually manage music and videos] is checked. And, this is the only Mac I have ever used to

    Can't add music my iPhone from iTunes.
    When I try to drag a song over to my phone, I get the circle w/ the syncing line through it, but it does not update/load.
    [Manually manage music and videos] is checked. And, this is the only Mac I have ever used to add music to my phone.
    Also, just updated the phone's software today, and iTunes' software is already up to date.

    Hi Gregg,
    Have you tried resetting the device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the Home screen redisplays, see if your Music app is behaving normally.
    Cheers,
    GB

  • HT2513 The date on my dock does not update automatically ? - Ps anybody.

    I use MACCBOOK PRO with OS X ver 10.6.8.
    I  Cal Version 4.0.4 (1395.7)
    Sometimes the current date does not update on my ical icon in the dock. After clicking on it the date becomes OK.
    I would appreciate if someone has a solution.

    I solved the problem by uninstalling Glims.

Maybe you are looking for

  • How do I get rid of the "other" space on my macbook air?

    I have 11" Macbook Air and mostly use it just for music and as a home computer and do not have a lot of documents or anything that take up a large portion of the storage.  When I look at the storage though it has this "other" portion that takes up al

  • Is it possible to have a PDF Form that is both static and dynamic?

    So I have a form that I need to make that would consist of two different pages. The first being lots of form fields and some simple graphics where the user could use the comment markup tools to draw some simple lines. The second page would be all tex

  • App.open(file) fails even with absolute path.

    Hi There, I am new to scripting for AE so please go easy on me.  I have these two lines in a script which is a plain text file with .jsx as the extension. var project = new File("C:\path\to\my\project.aep"); app.open(project); So then, I go to my com

  • Can iMovie v9 run with Yosemite or do I have to use V10?

    Presently I'm using Mavericks and I prefer using iMovie version 9+ so before I upgrade to Yosemite does anyone know if that will work or do I need to use the new iMovie 10?

  • IPhone restore through itunes in windows xp sp2 not working

    Microsoft Windows XP Professional Service Pack 2 (Build 2600) Hewlett-Packard HP Compaq dx6100 MT(PQ674PC) iTunes 11.1.3.8 QuickTime 7.7.4 FairPlay 2.5.16 Apple Application Support 2.3.6 iPod Updater Library 11.1f5 CD Driver 2.2.3.0 CD Driver DLL 2.1