<RowList
id="CategoryRow"
itemComponentName="Item"
itemSize="[1920,250]"
rowHeights="[250]"
rowItemSize="[[444,250]]"
rowItemSpacing="[[50,20]]"
numRows="1"
rowLabelOffset="[[0,15]]"
rowLabelFont="font:LargeBoldSystemFont"
rowLabelColor="0x333333"
rowFocusAnimationStyle="fixedFocusWrap"
showRowLabel="[false]"
focusXOffset="[515]"
focusBitmapUri="pkg:/images/reticle1.png"
translation="[0,400]"/>
"destruk" wrote:
You could pad the list.
"nathanjosiah" wrote:"destruk" wrote:
You could pad the list.
What do you mean by pad? If you mean to add in extra duplicate items, I would except that affects the row counter and would show more items than are actually available.
"destruk" wrote:"nathanjosiah" wrote:"destruk" wrote:
You could pad the list.
What do you mean by pad? If you mean to add in extra duplicate items, I would except that affects the row counter and would show more items than are actually available.
What I mean is - duplicate the existing items in the set of content nodes to make the set of content nodes bigger - if you have a row of 7 items required to scroll, and you have those seven items on the screen at one time, the highlight box will move and they won't scroll. But if you double the existing 7 in order, then you have 14 items in the list and it will scroll like the other rows.
Joe's suggestion to change the item width for each one in the row would just look weird to me if you have one row with 2 items in it and other rows nearby with 8+, but it should work as well to do that.
"joetesta" wrote:
try altering the rowlist's itemSize's first value (ie the width) In your brs once the content is set, to something based on a function of either a boundingRect().width if possible or more likely, a computation of the number of items X the width of each item + padding between items X (number of items -1).