Spark list horizontal scroller doesn't actualize when rows is set lesser than list container

Hello,
The size of the Image control is set larger than that of its parent Group  container. By default, the child extends past the boundaries of the parent  container. Rather than allow the child to extend past the boundaries of the  parent container, the Scroller specifies to clip the child to the boundaries and  display scroll bars.
In the spark list, when I change the list dataProvider and the size of the Image control is set lesser than that of its parent Group  container, the horizontal scroller doesn't actualize.
thanks.

<!-- Simple example to demonstrate the Spark List component -->
<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" applicationComplete="comp()" width="260" height="400">
    <fx:Script>
        <![CDATA[
    import mx.collections.*;
    public var dpArray:Array;
    [Bindable]
    public var dpCol:ArrayCollection;
    public function handleClick():void {
        dpCol.removeAll();
        dpCol.addItem({ label:"spark test" });
        dpCol.addItem({ label:"spark text" });
    public function comp():void {
        dpCol = new ArrayCollection(dpArray);
        dpCol.addItem({ label:"spark list horizontal scroller doesn't actualize when rows is set lesser than list container" });
        dpCol.addItem({ label:"spark test" });
        dpCol.addItem({ label:"spark text" });
         ]]>
    </fx:Script>
    <s:Panel title="List">
        <s:VGroup left="20" right="20" top="20" bottom="20">
            <s:List width="200" id="lis" dataProvider="{dpCol}" height="120"/>
            <s:Button id="button1" label="Click here!" width="100" fontSize="12" click="handleClick();"/>
        </s:VGroup>
    </s:Panel>
</s:Application>

Similar Messages

  • My horizontal scroll bar went missing when I maximise the window. How do I fix them?

    My horizontal scroll bar went missing when I maximise the window. How do I fix them? I tried everything; such as auto hide the task bar. Even with this, I still can't see the horizontal scroll bar. I even tried the following and I still can't see the horizontal scroll bar.
    1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste dom and pause while the list is filtered
    (3) Double-click the dom.disable_window_open_feature.scrollbars preference to switch it from false to true. By choosing true, you disable sites from deciding whether there can be scrollbars on a window, and Firefox uses its standard behavior for the page.
    If you want to always get other bars, here are the corresponding settings:
    Menu Bar: dom.disable_window_open_feature.menubar
    Navigation Toolbar: dom.disable_window_open_feature.toolbar
    Bookmarks Toolbar: dom.disable_window_open_feature.personalbar
    Please help.

    Can you post a screen shot?
    Taking a Screen shot; '''''Windows > Start >''''' search box '''''> Snipping Tool'''''.
    Save the picture(s) to your desktop. Now look at the '''Reply''' box below.
    Do you see the button under it that says '''Browse'''? Click it and then select
    the screen shot(s) from the desktop.

  • Horizontal scrolling doesn't work with ItemsStackPanel in ListView(GridView)

    Hi,
    In Win 8.1 App Store Project I have a ListView with fixed width and listen for ContainerContentChanging event because of performance issues.
    When ListView width is less than content width, horizontal scrolling doesn't work. If we change ItemsStackPanel to VirtualizingStackPanel, horizontal scrolling works fine. But ContainerContentChanging doesn't work with VirtualizingStackPanel.
    Is it possible to make horizontal scrolling work with ItemsStackPanel?
    Here simple example to reproduce this problem:
    <Page
    x:Class="App8.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:App8"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Resources>
    <DataTemplate x:Key="ContinuousViewItemTemplate">
    <Border Width="800"
    Background="Green"
    Margin="10"
    Padding="5">
    <Border x:Name="root" Height="800" Background="{Binding}"/>
    </Border>
    </DataTemplate>
    <Style x:Key="ListViewStyle1" TargetType="ListView">
    <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Visible"/>
    <Setter Property="ScrollViewer.HorizontalScrollMode" Value="Enabled"/>
    <Setter Property="ItemTemplate" Value="{StaticResource ContinuousViewItemTemplate}"/>
    </Style>
    </Page.Resources>
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="100"/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition/>
    <ColumnDefinition Width="500"/>
    <ColumnDefinition Width="100"/>
    </Grid.ColumnDefinitions>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="1">
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    <ListView Style="{StaticResource ListViewStyle1}" Grid.Column="3">
    <ListView.ItemsPanel>
    <ItemsPanelTemplate>
    <VirtualizingStackPanel/>
    </ItemsPanelTemplate>
    </ListView.ItemsPanel>
    <SolidColorBrush Color="Red"/>
    <SolidColorBrush Color="Cyan"/>
    </ListView>
    </Grid>
    </Page>

    Hi Mikhail Maksyuta,
    Welcome back!
    Yes, you are right! I have reproduced it on VS 2013 professional.
    I will report it as bug, Thanks for your valuable suggestions!
    If you have any other questions about this, please feel free let me know!
    Thanks again!
    Regards! 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Horizontal scroll doesn't work.

    I have recently updated to the Firefox 5. After update my A4Tech X6 mouse horizontal scroll doesn't work in Firefox, but at the same time it works fine in other applications. I had no such problems with scrolling in Firefox 3.6.*. Please help me.

    sticksen,
    I'm glad that it is user specific. Now I only know of one file you are going to need to remove to fix this problem, but keep in mind some basic setting in other programs are going to be rest by the removal of this file, you will just have to change them back when you run across them. Example in My Mail program I had to turn of the show thread feature again.
    Ok here is what you have to due in order to delete the file. First off close all running programs including (System Preferences) but excluding (Safari). you will be perfectly fine having it running. The file is a hidden file so you need to show the hidden files on your computer to do so open (Terminal) and type in exactly as follows:
    defaults write com.apple.finder AppleShowAllFiles TRUE
    Hit return and then follow it by typing:
    killall Finder
    Hit return finder will reset and all you hidden files with show, after which Open finder and go into (Your User Name)/(Library)/(Preferences) and find the file named (.GlobalPreferenes.plist) and Delete it. Don't do anything after you delete this file just log out. Now log back in open Terminal and type exactly as follows:
    defaults write com.apple.finder AppleShowAllFiles FALSE
    killall Finder
    Now test to see if you can scroll horizontally. And just for your comfort I did this myself after disabling the Horizontal scroll and it toggles it back on. (I have a white macbook not the new unibody macbook).
    Do note that Mac keeps all settings files in (.plist)s and by removing them in your user folder will not harm your computer or the stability of your mac. These files are there just to hold settings files so that your experience can be the most pleasing for you.
    Hope that helps.

  • Why did I receive an e-mail saying I have exceeded my storage when I am using less than 1 GB

    why did I receive an e-mail saying I have exceeded my storage when I am using less than 1 GB?

    Thanks: our creatives said they would research "with Apple" and let us know next week when we are there for training, so you are correct we probally don't need the Genius Bar, but since we're at the Apple store for training it's good to keep in touch with them as they always have some good tips or advice.
    Plus if they get to know you you seem to get better service

  • Is it bad to charge iPod everyday when it gets to less than 20%?

    Well I charge my iPod everyday and i charge it when it gets to less than 20% every time . Is this bad? Is it ok to charge at 50? I usually don't because there is still battery left so.. I just use it till its at 10% and charge it

    Charge whenever you want to. There are mixed reviews out there, but the general concensus seems to be to not let it always run flat before recharging, hard on this type of battery, so charge when you need the power to get through the day.

  • Spark datagrid - Horizontal scroll won't work

    I have been unabled to get my full datagrid to scroll on a mobile device. I know they are not optimized for mobile but everything else seems to work ok.
    I have the scroll setting enabled: horizontalScrollPolicy="on"
    This still does not enable my grid to scroll even through the data is there and I can statically set the position and see the different position on the grid.
    The title bar scrolls then snaps back when I take my finger off the screen.
    Any suggestions?

    think many programs in windows support you clicking just beside the scroll arrow and drag out a split
    at least visual studio does that
    test with other apps to narrow it down to if it's excel causing it

  • Hide/disable a row of a list when "date" column is less than today's date.

    Hi,
    We are using a "Finalsubmitted" date column in my list. my requirement is once that date of Finalsubmitted column is expired(less than today's date), total row should be in hide/disable mode.Could you help me to achieve this.
    Thanks.

    that is a drop down, showing the results from another list based on our selection.
    We have used SP services for that.
    But, date conversion is wrong on  var pubdate= new date(dateselected.value) line.
    It is showing "NaN(Not a number)" . date format it is giving DDMMYYYY.
    But, i need MMDDYYYY. How can we convert in JavaScript.
    Plz check below code.
    <script language="javascript" type="text/javascript">
    $(document).ready(function()
    today = new Date();
    getTagFromIdentifierAndTitle("select","Lookup","Dates").onchange = function() {ChangeEvent1()};
    function ChangeEvent1()
    var dateSelected = document.getElementById("Dropdown ID");
    var pubdate = new Date(dateSelected.value);
    if(pubdate<=today)
    $("input[value$='Save']").attr('disabled', true); //button hides
    alert("Publishing Date should be greater than Today's Date");
    else
    $("input[value$='Save']").attr('disabled', false); //button shown
    function getTagFromIdentifierAndTitle(tagName, identifier, title) {
    var len = identifier.length;
    var tags = document.getElementsByTagName(tagName);
    for (var i=0; i < tags.length; i++) {
    var tempString = tags[i].id;
    if (tags[i].title == title && (identifier == "" || tempString.indexOf(identifier) == tempString.length - len)) {
    return tags[i];
    return null;
    }</script>

  • Message when sales price is less than cost price

    Hai Guys,
    Is there any standard configuration in SAP which makes the system give a warning when the Sales price is less than the cost. I have seen this feature in some IDES systems, but I am unable to get that feature in my current project. Can somebody help me in thsi regard?
    Regards,
    Maheshwaran. I

    Hi,
    Yes you can also achieve this by doing just some modifications in your pricing procedure :
    Please maintain these settings in VPRS :
    subtotal as B
    requirement 4
    and alternate calculation type as 5
    Then whenever VPRS will be greater than Nett value, system will throw warning message. Please try and revert with feedback.
    Thanks,
    Raja

  • Complete my album not available when balance due is less than 99 cents?

    I was pleased with the "Complete my Album" idea, and I tried to use it over the weekend, but kept getting an error when iTunes was trying to talk to the store. I started out owing something like $4.03 to complete the album, having bought 4 99 cent songs from a $7.99 album.
    I was frustrated by this repeated error over the course of a few hours, so then I gradually started buying the songs one by one. I bought one, and the price dropped to 3.04. Another, and the price went to 2.05, but the album was still available to be completed. I kept going to the point where I would have expected to have 7 cents left to pay for the remaining 3 songs on the album, but then the album no longer shows up as available to be completed.
    I assume they don't want to bother with such a paltry sum, but beware. Even if you are frustrated, don't buy the songs one by one if the balance will get below 99 cents.
    Is this a known limitation?
    iPhone 8GB Other OS

    Complete my album FAQ
    http://docs.info.apple.com/article.html?artnum=305232#faq3
    How is my Complete My Album price calculated?
    Your Complete My Album price is based on the content you previously acquired from iTunes. If you purchased your songs, we adjust the current album price by the retail price you paid for those song(s). If you acquired your content through select, eligible song code promotions, we adjust the current album price by the full retail price of the song(s).
    *Please note that if you previously acquired so many single tracks from the same album that the Complete My Album price would be less than the current price of a single song (a single video for a video album), you will not be able to purchase the remaining tracks using Complete My Album.*

  • When my page is minimized to half my screen, the horizontal scrolling doesn't work.

    It had been working previously, but it just stopped. If I'm on a webpage and trying to scroll sideways with two fingers, it doesn't work. Vertical scrolling works fine.
    I'm on a Dell Inspiron, running Windows 7.

    Start Firefox in Safe Mode 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).
    <b> To Enable SafeMode </b>
    *You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    *''Once you get the pop-up, just select "'Start in Safe Mode"''
    If it works in Safe Mode and in normal mode with all extensions (Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: "Firefox > Quit Firefox"; Linux: "Firefox/File > Quit")
    * https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Auto-scrolling doesn't work when JFrame is not visible

    Hi, I have auto-scrolling implemented for my JTextPane that sits in JScrollPane - which lives in JInternalFrame. It works as excepted - as long as my application's JFrame is visible. When the JFrame becomes invisible, auto-scrolling simply doesn't work anymore.
    I've overcame this by scrolling down in "windowShown", but it's ugly because the user can visually see the scroll down when using this workaround (it jumps).
    I guess this is Swing's optimization, but I would really like to overcome it in someway. But it seems I'm not enough a swing hacker to do it.
    One thing to note is thtat, the auto-scrolling works fine when the JInternalFrame is NOT visible, but frame is.
    I've tried to override the isShowing-method of JInternalFrame, with no luck.
    Here's my scrolling method:
    public static void scrollDown(JScrollPane scroll) {
              JViewport port = scroll.getViewport();
              Rectangle rect = new Rectangle(0, port.getViewSize().height, 1, 1);
              port.scrollRectToVisible(rect);
              JScrollBar bar = scroll.getVerticalScrollBar();
              bar.setValue(bar.getMaximum() - bar.getModel().getExtent());
         }Anyone have ideas?

    At some point I had really hard time getting the auto-scrolling to work, as I got these weird little bumps after scrolling down.
    Adding scrollBar.setValue() seemed to 'just fix it'. It actually seems to be superfluous now.
    The scrolling is already wrapped in SwingUtilities.invokeLater() - in conjuction with printing text into the JTextPane and it works OK.
    I had some wrong info in the first post, the viewport actually does get scrolled down even when the JFrame is not visible. And by visible I mean JFrame.setVisible(false) - my application has a minimize-to-tray feature, which hides the JFrame.
    So I think the problem is 'just' a repainting problem. When the frame is shown, the previous scroll location is first displayed, and then a repaint is triggered that causes the 'jump down'.
    I'm not still sure how to fix it though.

  • To Do List Automatically Scrolls to the Top when I make any date change

    I'm using Palm 6.2.2 at the moment, and I'm finding that Whenever I change the date on any of my To Do List tasks in the desktop software the list automatically jumps/scrolls to the top of the list and it is driving me INSANE. I have a LOT of dated tasks and on a daily basis have to push them forward to other dates. Doing this now takes me forever as I have to rescroll down to the area of tasks I was working on, change the date on the next one then start all over again.
    For what it's worth, I just upgraded from a Treo 700p w/Palm 4.something - that version of the Desktop Software did NOT do this.
    Anyone else encounter this and know how to fix/avoid it?
    Post relates to: Centro (Verizon)

    I can confirm this function. Also I wasn't able to find anyway for it to not do this. 
    Post relates to: None

  • Unable to use debug mode for x64 application and debug doesn't work when target cpu set to x86

    I am attempting to familiarize myself with Visual Basic programming in Visual Studio 2008, using the Visual Basic Guided Tour in Microsoft Visual Studio 2008 Documentation, and have run into a bit of a road-block.  When following the lesson "It
    Doesn't Work! Finding and Eliminating Run-Time Errors", the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications
    are not allowed".  I found some forum postings advising to set the project's Target CPU from "Any CPU" to "x86".  However, when I do that, and re-execute the debug process, the debug fails to stop on the overflow/divide by
    zero error.
    How can I debug my programs when Any CPU/x64 target doesn't allow me to edit the code, and x86 target doesn't appear to recognize obvious runtime errors.

    Hi Tim,
    >>the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications are not allowed". 
    I'm afraid that the VS2008 has a limitation for this feature, I mean that Edit and Continue isn't supported on 64-bit.
    Reference:
    http://stackoverflow.com/questions/1498464/changes-to-64-bit-applications-are-not-allowed-when-debugging-in-visual-studio
    http://blogs.msdn.com/b/habibh/archive/2009/10/12/how-to-edit-code-when-debugging-a-64-bit-application.aspx
    But this feature has a improvement in VS2013 now:
    http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debugging-support-for-64-bit-edit-and-continue-in-visual-studio-2013.aspx
    So if possible, you could test it in the latest VS2013 version.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Why does it say that my camera roll takes up 5.5GB of space on my iPhone when I only have less than 100 photos in my camera roll and none in photo stream

    When I try to delete photos and music off my phone to create more space, it still says that my photos take up 5.5 GB of space but there are none in my phone

    Have you synched your phone to iTunes lately?   Maybe there is a corrupted sync that needs to be cleaned up.

Maybe you are looking for

  • Disable Screen-Input for checkbox in report selection screen.

    I have defined one Selection Screen parameter as follows: PARAMETERS: CCCDoc as CHECKBOX USER-COMMAND check DEFAULT 'X'. Now, When Selection Screen comes up I want to have this check box greyed out. I tried this code but is not working for me. What d

  • External Firewire ODD Problem

    Hi~ My Mac mini (PPC) would not recognize external firewire DVD writer. Trial I. System profiler information about firewire of Mac mini shows: Manufacturer - Unknown Model - Unknown Device In my other mac, iMac G5, the attached device information is:

  • InputVerifier and XML Schema

    Is there a way by which I can pass the contstraints for a TextField to the InputVerifier, after getting them from the XML Schema. For example if I have a schema like:- ***************************** Start ***************************** <?xml version="1

  • NOKA 6151 "PHONE RESTRICTED" please help!

    My nokia 6151 says phone restricted, prompting me to enter a restriction code. How do I get the RESTRICTION CODE and please does this affect the SIM card as well? Coz after seeing this message, I inserted my SIM card into another phone and brings the

  • ADT on Mac crashes after I try to create an object

    I'm running Eclipse 4.3 on Mavericks with ADT 2.28.1 and it crashes everytime I try to create an ABAP Project. I've deleted Eclipse and reinstalled from scratch, but I still get the same behaviour. Any clues? EDIT: I don't see error messages on Eclip