4 Replies Latest reply on Aug 27, 2011 3:17 PM by Shongrunden

    Mobile List height problem

    Francisc Level 3

      Hello,

       

      I'm using a Spark List in a Mobile Application that I display in a SkinnablePopUpContainer.

      The list only has 2 elements, but it's height is that of more than just the ones visible.

       

      Is there any way of setting the height to the height neccesary to display all of its content or at least set number of rows displayed?

       

      All the list has is this:

      <s:List id="list" horizontalCenter="0" verticalCenter="0" change="listSelect(event)" itemRenderer="spark.components.LabelItemRenderer" labelField="name"/>

       

      Thank you.

       

       

      Screenshot below, you can see the grey area under the last item in the list:

      problem.jpg