Thanks @tarlorcw. But sorry, it’s not the answer for my case though. If you use the jumpToItem, that item will jump to the top of the list and get focused.
What I expect is the focused item in the middle of the list instead on top.
I managed to found a work around solution by modifying the itemData ContentNode though.
“flynt7111” wrote:
Hi. In default setting, the MarkupList always focus on the top item in the list while the rest of the list item is rolling vertically.
Is the a way to set the focus position to the middle of the list instead?
Example:
Init state: A, B,
Press down: B, C,
Press down: C, D,
I have tried with all MarkupList properties on sdkdocs but no luck.
Do you mean something like this where it stays in the middle at all times…
numColumns=5
numRows=3
focusRow=1 //focus columns and rows index starts at 0
focusColumn=2
vertFocusAnimtationStyle=fixedFocus
or where it floats up and down the center…
numColumns=5
numRows=3
focusColumn=2 //focus columns and rows index starts at 0
vertFocusAnimtationStyle=floatingFocus