Widget 2.0: Row Background And Line Rendering

This is a problem with the simulator being at 50% resolution.  It’s throwing away every other pixel row to resize the simulator.  Show it at full size and you should see all the lines.

Rob

Rob,

Can you please be more explicit with your answers??  

I don’t see anything in the simulator about “50% resolution”

If you are referring to the setting for:

Corona—>Preferences—>Automatically scale simulator to fit screen??

I tried that and it did not solve EITHER problem…and why is this issue not clarified in the docs??

And after you tell me how to disable “50% mode” in the simulator, will you please confirm you saying that NEITHER of these issues will be problems in a real-build of my app for a device??

When I say TWO PROBLEMS, I’m referring to both the missing row-lines, and the fact that the visible row-lines are indented about 10 px to the right.  Does your response account for BOTH issues??

@ksan – once Rob clarifies whether this is a Widget bug or a simulator bug, then I’ll report it accordingly…sounds like he’s saying it’s a problem with the Mac simulator…

Window Zoom in and Zoom out.  If your using the iPhone 5 skin, it should 1136 pixels high + the skin.  That’s bigger than most people’s screens (most external monitors are only 1080 px high).  So most people zoom out to see the whole thing on the screen.  That means the content area becomes 320x568 or half the pixels.  Most resampling functions (to make that 640x1136 fit into the 320x568) means throwing away about half the data.  Try hitting the Zoom in key CMD-+ (or CTRL-+ on windows) and you should see the dividing lines correctly.

The 10 pk to the right (well I think its either 15 or 16) is by design.  This is how iOS 7 does things.  Look at the mail app.  There is a bug report in (it’s not really a bug but we are going to give you an option to turn it off).

Sorry for not seeing the 2nd part of the answer.

Rob

Zoom is not my issue----my simulator is already at full resolution (Zoom In is gray/disabled).

And it’s the same issue with iPhone 3 & 4 as well…

So what now, is this a bug??

You can grab my simple demo code off of github and try it yourself…

Thanks for clarifying your response.

D

Here’s a screen cap from my MacBook Pro.  Once I zoomed my simulator, you can see that all lines are there.

Rob

tv.png

idk what to say…mine is a MacbookPro Retina 15…latest model…mine seems to be fully zoomed…

I’ve disabled “Automatically scale simulator to fit screen” and zoom-in is gray/disabled…

Ok, I think I’ll trust you on this and just assume it’s something with my display…

But will this NOT be an issue on an actual build for device??

Actually it may be the Retina display on the MBP.  Corona runs in low res mode, and I wonder if that’s the culprit.