Dear Rob!
I am sorry for my late reply … I have to spend all my free time on my main job.
This problem is still exists so please … would you be so kind and look at my onRowRender
[lua]
local function onRowRender( event )
--Set up the localized variables to be passed via the event table
local row = event.row
local id = row.index
local params = event.row.params
print("rendering row id = " … id)
local rowHeight = row.height
local rowWidth = display.contentWidth
row.bg = display.newRect( 0, 0, rowWidth, rowHeight )
row.bg.anchorX = 0
row.bg.anchorY = 0
row.bg:setFillColor(myConsts.RGB2(“BACKGROUND”))
row:insert(row.bg)
if ( event.row.params ) then
row.avatar = display.newImageRect(“testdata/” … id … “.png”, system.ResourceDirectory, rowHeight, rowHeight )
row.avatar.x = rowHeight / 2
row.avatar.y = rowHeight / 2
row:insert(row.avatar)
local fromtext = " " … id
row.nameText = display.newText({text = fromtext, x = rowHeight, y = rowHeight / 30,
fontSize = myConsts.GET(“TEXT2_H”), font = myConsts.GET(“MAINFONT”)})
row.nameText.anchorX = 0
row.nameText.anchorY = 0
row.nameText:setFillColor(myConsts.RGB2(“TEXT2”))
row:insert( row.nameText )
end
row.bottomline = display.newRect( 0, rowHeight - 2, rowWidth, rowHeight )
row.bottomline.anchorX = 0
row.bottomline.anchorY = 0
row.bottomline:setFillColor(myConsts.RGB2(“ITEMDELIMCOLOR”))
row:insert(row.bottomline)
return true
end
[/lua]