7 Replies Latest reply on Sep 1, 2010 4:08 AM by tonysameh

    Spark DropDownList - Scroller doesn't scroll to bottom of list

    sleblang

      I am using a Spark DropDownList and have an issue when the component list opens. The scroll thumbbar does not scroll all the way to the bottom despite actually reaching the last item. The thumbbar stops at about 2/3 from the bottom. I have included a screen shot of the issue.

       

      sddl_scroll.png

       

      Thanks for the assistance.

        • 1. Re: Spark DropDownList - Scroller doesn't scroll to bottom of list
          Flex harUI Adobe Employee

          Can you post a simple test case?

          • 2. Re: Spark DropDownList - Scroller doesn't scroll to bottom of list
            sleblang Level 1

            Well, I haven't tried to reproduce it in a simple application. However, I can not get it to work in my current application. Also it should be noted, I am having the same issue with the scroller component for my skinnabledatacontainer - it stops at a 1/3rd of the way down the scroll track. The application is rather large, so I have simply included the code for the Spark DropDownList:



                 <s:DropDownList dataProvider="{lightBoxPM.lightBoxNames}"
                                     labelFunction="{lightBoxPM.labelToFunc}"
                                     open="lightboxes_combo_openHandler(event)"
                                     itemRenderer="com.usa.view.itemrenderers.LightBoxItemRenderer"
                                     prompt="Select LightBox"
                                     id="lightboxes_combo"
                                     x="10" y="10"
                                     excludeFrom="new"
                                     changing="{lightBoxPM.lightboxes_combo_changingHandler(event)}"
                                     width="254" fontSize="12" />
            



            Please let me know if you require additional code. I will do my best to post it.


            Thanks again for the assistance.

            • 3. Re: Spark DropDownList - Scroller doesn't scroll to bottom of list
              sleblang Level 1

              Ok, I finally resolved the issue. I was using the the Colbalt Graphical Theme under the Flex 4 Graphical Themes in the Project Properties > Flex Theme section. It turns out that the scroller is broken for all components when using this theme!!!


              Thanks!

              • 4. Re: Spark DropDownList - Scroller doesn't scroll to bottom of list
                sleblang Level 1

                Tried this sample app with the Theme set to Colbat Graphical and it breaks as well:

                 

                <?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:Declarations>
                          <!-- Place non-visual elements (e.g., services, value objects) here -->
                     </fx:Declarations>
                     <s:DropDownList x="10" y="21" width="196" prompt="SELECT NUMBER">
                          <s:dataProvider>
                               <s:ArrayList>
                                    <fx:String>1</fx:String>
                                    <fx:String>2</fx:String>
                                    <fx:String>3</fx:String>
                                    <fx:String>4</fx:String>
                                    <fx:String>5</fx:String>
                                    <fx:String>6</fx:String>
                                    <fx:String>7</fx:String>
                                    <fx:String>8</fx:String>
                               </s:ArrayList>
                          </s:dataProvider>
                     
                     
                     
                     </s:DropDownList>
                     
                     
                </s:Application>
                

                • 5. Re: Spark DropDownList - Scroller doesn't scroll to bottom of list
                  Flex harUI Adobe Employee

                  Ok, if it is a theme issue, please file a bug.

                  • 7. Re: Spark DropDownList - Scroller doesn't scroll to bottom of list
                    tonysameh

                    I am having the exact same issue and I have to use CobalGraphical theme.

                    I realized it is an issue within some themes.

                     

                    Was this bug fixed?