Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bmn
Level 8

rogridscreen position

Hi, is there a way to position the focus on the top of the screen?

I mean to have the grid start on the top of the screen and not the middle

thanks!
0 Kudos
3 REPLIES 3
TheEndless
Level 10

Re: rogridscreen position

You can make a call to SetFocusedListItem() to set the initial focus before showing the screen.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
bmn
Level 8

Re: rogridscreen position

Tried that one, but didnt work... isnt there a way to move the whole thing?

thanks!
0 Kudos
TheEndless
Level 10

Re: rogridscreen position

Oh, you mean you want the focus frame to be on the first row of the grid instead of the middle? That can't be done without using one of the larger grid screen formats.

You could potentially fake it by creating a custom frame that's tall enough to cover both rows, with the graphic at the top and the rest transparent, but then your description box wouldn't have the correct information in it unless you offset the content and icons. Probably way more trouble that it's worth.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos