Hello,
I am new to brightscript and am working to modify the simple grid example to work as a starting place for a new channel I am creating.
I am retrieving my titles and posters via a web service call. I am parsing the returned JSON and it is working beautifully.
The only problem is that if a category only has one movie it is putting the poster in the middle rather than starting at the left. Is there a way to specify that the grid fill from left to right rather than starting in the center?
Thanks for any help.
i am using the openRokn template and I modified which poster was in focus by changing the line: grid.SetFocusedListItem(0,0)
the 0,0 means first frame in the first row. Not sure if this will help you
Thanks @mikehanel . That doesn’t seem to fix it.
Basically If I have 5 or more shows it works fine, but if I have less than that for example only 3 episodes it shows up like this:
_ _ X X X (with the _ being blank spots in the grid and the X being posters). What I would like it to look like is:
X X X _ _ (filling starting from the left rather than from the center position.
What am I missing?
Thanks,
Josh
try to put (0,2) instead of (0,0)