I’ve been working with Corona SDK for a few months building a Win32 business app, and am now trying to refine some of the graphics.
In one particular scene, I’ve used multiple rectangles for framing different areas of the screen. While experimenting with different rectangle dimensions and stroke widths I noticed that entire rectangles will occasionally disappear when I set the total width to 1. Other rectangles lose a single side, but retain the rest of their outline when the strokeWidth is set to 1. At first I thought this must have been due to overlapping display elements, such as text fields, that were wider than I realised. But after much experimentation - introducing large offsets between neighbouring elements and trialing a variety of width and stroke dimensions - the only way to make the rectangles/sides reappear was increasing the width/strokeWidth values.
The behaviour is confusingly inconsistent between rectangles. Some elements are affected, some are not, and all my rectangles have neighbouring elements.
Is this a super simple rookie error? Is there something apart from overlapping neighbouring elements that I should check?
Any advice would be much appreciated!