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: 
uarlive
Visitor

GridScreen Extra Row

I have integrated a gridscreen into my channel. When the setgridstyle is set to "flat-landscape" the first row starts in the middle of the screen. (looks like there is a blank row at the top of screen.) When I use "four-column-flat-landscape" the images are larger but it looks normal on the screen. Thanks in advance.
0 Kudos
5 REPLIES 5
RokuChris
Roku Employee
Roku Employee

Re: GridScreen Extra Row

That's the expected behavior. When I use one of those grid styles, I usually set the initial focus to the second row of content using SetFocusedListItem() (http://sdkdocs.roku.com/display/RokuSDK ... ritemIndex) so that the first row fills that blank space.
0 Kudos
uarlive
Visitor

Re: GridScreen Extra Row

Thanks Chris. Its working as expected now.
0 Kudos
uarlive
Visitor

Re: GridScreen Extra Row

Is it possible to change the focus to the first row, first item for the flat-landscape view?

thanks.
0 Kudos
DLC
Visitor

Re: GridScreen Extra Row

Hello,

Try with :

your_screen.SetFocusedListItem(0,0)


Denis
0 Kudos
uarlive
Visitor

Re: GridScreen Extra Row

thanks but i already tried that but it didnt give the expected results.
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.