1 Reply Latest reply on Nov 26, 2010 11:20 AM by Shongrunden

    Scroller Side

    jfillman Level 1

      I have a Spark list with a scroller, set via styling like this:

       

      s|List

       

      s|Scroller {

       

      horizontalScrollPolicy: on;

      }

       

      The list has a horizontal layout, which then shows items laid out left to right, sort of like a TabNavigator, with the scroller at the bottom of the list.

       

       

       

      <s:List id="lstOpenitems" width="100%" height="100%" click="clickChart(event);"

      contentBackgroundAlpha="

      1.0" contentBackgroundColor="#174E75"

      dataProvider="

      {openItemsAC}" itemRenderer="skins.openItemRenderer"

      rollOverColor="

      #FCFF02" selectionColor="#FF0000">

       

       

      <s:layout>

       

       

      <s:HorizontalLayout gap="2" verticalAlign="middle"/>

       

       

      </s:layout>

       

       

      </s:List>

       

      What I want is the scroller to be along the top of the list instead of on the bottom.