movingtarget
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2014
07:09 PM
roGridScreen alignment
I'm using the roGridScreen, and I would like to have the selector be positioned not in the center but in the most left column. How can I do that? I couldn't find anything in the SDK documentation, but I've seen apps that do that (Amazon Prime for example...)
5 REPLIES 5

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2014
07:32 PM
Re: roGridScreen alignment
The only grid styles that allow for that are "two-row-flat-landscape-custom", "mixed-aspect-ratio", and "four-column-flat-landscape".
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
movingtarget
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014
09:23 AM
Re: roGridScreen alignment
"TheEndless" wrote:
The only grid styles that allow for that are "two-row-flat-landscape-custom", "mixed-aspect-ratio", and "four-column-flat-landscape".
Thanks! I'm using "mixed-aspect-ration", but the selector is still in the center... What do I need to do to move it to the left?
movingtarget
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014
09:50 AM
Re: roGridScreen alignment
In fact I tried all the options that are listed in the ifGridScreen description, and I noticed no visible change on the screen.... What am I doing wrong here?
grid = CreateObject("roGridScreen")
grid.SetupLists(titles.Count())
grid.SetListNames(titles)
grid.SetDescriptionVisible(true)
grid.SetDisplayMode("zoom-to-fill")
grid.SetGridStyle("mixed-aspect-ratio")
grid.SetMessagePort(port)
grid.SetFocusedListItem(row, col)
grid.Show()


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014
02:36 PM
Re: roGridScreen alignment
You need to call SetGridStyle() before SetupLists()
movingtarget
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2014
04:39 PM
Re: roGridScreen alignment
"RokuChris" wrote:
You need to call SetGridStyle() before SetupLists()
That's these subtle things....
Thanks, works!