I’ve got setdescriptionvisible(true) - any ideas what else might determine if the description shows on a poster in the grid screen?
When I put control buttons in row 0 I can no longer navigate to row 1 row - row 1 shows but I can’t navigate to it, setting SetListVisible(1,true) makes row 1 invisible!
I’m thinking on #2 that something is out of sync between setuplists and setlistnames perhaps?
this is the code without the prepended control buttons, I moved them to the front of each list. The only issue with this code is descriptions not showing:
port=createobject("romessageport")
screen=createobject("roGridScreen")
screen.setgridstyle(gridstyle)
screen.setupLists(list.count())
m.content=createobject("roarray",list.count(),true)
i=0
for each o in list
m.content[i]={name:o.name,posters:downloadposters(o.url)}
m.content[i].posters.unshift(controlbuttons())
screen.SetListName(i,o.name)
screen.setcontentlist(i,m.content[i].posters)
screen.setlistvisible(i,true)
screen.setdescriptionvisible(true)
i=i+1
next
Here’s the code for the control button, description is not showing there:
function controlbuttons() as object
return {ShortDescriptionLine1:"Home"
title:"Home"
description:"return home"
releasedate:""
name:"Music"
url:""
SDPosterURL:"pkg:/images/mm_icon_focus_sd.png"
HDPosterURL:"pkg:/images/mm_icon_focus_hd.png"
action:"home"}
end function
I’d move the SetDescriptionVisible() line up to just before you call SetupLists(). There’s no need to call it for every row, and it may behave differently if called after SetupLists (like SetGridStyle does). There’s no need to call SetListVisible(), either, unless your unhiding a row that you previously made invisible.
“jbrave” wrote:
Ok, the issue was the Theme, it won’t show any message text if the GridScreenDescriptionImages are not set.
Interestingly, there does not seem to be a setting in the Theme for the “retrieving” image, yet it seems to use the included image…
If you don’t have the description images set, it should use the default. Did you have them set to an empty string or a bad URL or something?
“jbrave” wrote:
I didn’t set them, assumed there would be a default.
There’s something else going on, then, because there are definitely default images for the grid screen.