Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
opnchaudhary
Streaming Star

focus first row's first item in gridscreen flat-landscape

hello there,
I am developing a Roku Channel application and while using grid scren with a flat-landscape the focus item is always the center item. But I want the focus to be in the first row, first item is there any way I can achieve that. I have tried SetFocusedListItem() and SetListOffset() with various values but ended with no luck. Any insight on this would be very thankful. However I can get the focus to the first item if I use flat-portrait layout for grid screeen, but I really need to use flat-landscape.

Thanks in advance
Regards
Paras Nath Chaudhary

0 Kudos
3 REPLIES 3
RokuChris
Roku Employee
Roku Employee

Re: focus first row's first item in gridscreen flat-landsca

flat-landscape is a center-focus style. You can't change that. You'd have to use four-column-flat-landscape or one of the other left-focus styles.

http://sdkdocs.roku.com/display/sdkdoc/ ... tringstyle
0 Kudos
RokuJoel
Binge Watcher

Re: focus first row's first item in gridscreen flat-landsca

The mixed aspect ratio grid style might work for what you are doing.

- Joel
0 Kudos
opnchaudhary
Streaming Star

Re: focus first row's first item in gridscreen flat-landsca

Thanks mixed-aspect-ratio was the option to use.
Regards
Paras Nath Chaudhary

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.