Can someone tell me how to control the height of a row in a tableView.newList ?? Each row goes across the entire screen as I want it but the height varies depending on which device its used on. ie iPhone, iPhone 4, iPhone 5, iPad etc.
myList = tableView.newList{
data=tableData,
default = assetPath.. "listBackground.png",
over = assetPath.. "listBackgroundHighLight.png",
onRelease=listButtonRelease,
top= topBoundary,
bottom= bottomBoundary,
callback=function(row)
local t = display.newText(row, 0, 0, "AmericanTypewriter-Bold",mainScreen.listFont)
t:setTextColor(0,0,0)
t.x = math.floor(t.width/2) + 12
t.y = (((height-topBoundary) /5)/2) + (mainScreen.listFont/2)
return t
end
}
Thanks for your help! [import]uid: 18460 topic_id: 35136 reply_id: 335136[/import]