Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bmn
Visitor

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!
Tags (1)
0 Kudos
3 REPLIES 3
TheEndless
Channel Surfer

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)
Tags (1)
0 Kudos
bmn
Visitor

Re: rogridscreen position

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

thanks!
Tags (1)
0 Kudos
TheEndless
Channel Surfer

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)
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!