Weird image behavior in a newTableView

Okay, this may get redirected to the widget forum, but I’m not sure whats going on.

I have a widget.newTableView and at the bottom of each row, I want to add a divider graphic. I know I probably could have done it with a category row or something, but I need my table rows to be in a one to one relation ship to my data rows, so inserting a thin graphic border at the bottom was the way to go.

Here is the code in question:

 row.bottomBorder = display.newImageRect("images/GS\_HorizontalBar.png",189,3)  
 row.bottomBorder:setReferencePoint(display.TopLeftReferencePoint)  
 row.bottomBorder.x = 37  
 row.bottomBorder.y = 28  
 rowGroup:insert(row.bottomBorder)  

The graphic is really 189x3 and I don’t have @2x or @4x versions.

Here’s the problem. In the Simulator (regardless of the skins I’ve tried), on my iPhone 5 and on my Kindle Fire, it displays perfectly. On my client’s iPhone 5 and iPhone 4 the lines extend outside the table view slightly.

The above code is in the onRenderRow for the table view and row is

local row = event.target

rowGroup is the view for the row. Everything is working like a charm, but not on his devices. Could be an OS issue, but both of our iPhone 5’s should be running identical OS’s since Apple has not update iOS6 yet.

I also believe for a time, it was wrong on his device, then it was right and now it’s wrong again.

Any one have any idea why the graphic would be scaled up a bit [import]uid: 19626 topic_id: 31840 reply_id: 331840[/import]

What build are you using? I’ve been using build 921 and there was a line separating each row by default. I just upgraded to build 931 and now there is no line. Looking at the docs it seems the default should be to have lines unless otherwise specified, but that changed in a build between 921 and 931 apparently.

PS: You forgot to close the code tag. [import]uid: 61899 topic_id: 31840 reply_id: 127089[/import]

Well I actually did close it, just incorrectly… " <code." doesn’t work too well :slight_smile: Posting forum posts when you’re about to pass out from exhaustion may not be wise.

I’m using 929 and I intentionally have my row dividers at 0px. I don’t want the tableView lines. This is a graphic that I’m sticking into the row at the bottom. I just don’t know why for my client it’s scaling up a bit.
[import]uid: 19626 topic_id: 31840 reply_id: 127104[/import]

What build are you using? I’ve been using build 921 and there was a line separating each row by default. I just upgraded to build 931 and now there is no line. Looking at the docs it seems the default should be to have lines unless otherwise specified, but that changed in a build between 921 and 931 apparently.

PS: You forgot to close the code tag. [import]uid: 61899 topic_id: 31840 reply_id: 127089[/import]

Well I actually did close it, just incorrectly… " <code." doesn’t work too well :slight_smile: Posting forum posts when you’re about to pass out from exhaustion may not be wise.

I’m using 929 and I intentionally have my row dividers at 0px. I don’t want the tableView lines. This is a graphic that I’m sticking into the row at the bottom. I just don’t know why for my client it’s scaling up a bit.
[import]uid: 19626 topic_id: 31840 reply_id: 127104[/import]