tableView.newList

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]

That’s an old tableView 3rd party library.
I’d recommend having a look at Corona’s own widget API (widget.newTableView) [import]uid: 70847 topic_id: 35136 reply_id: 139685[/import]

That’s an old tableView 3rd party library.
I’d recommend having a look at Corona’s own widget API (widget.newTableView) [import]uid: 70847 topic_id: 35136 reply_id: 139685[/import]