Okay, I really feel stupid asking this, since this seems like a pretty simple thing to do. Working on my first tablet-only app, and designing for iPad layout.
This is the simple code in my project:
function displayCompanyLogo( event )
background = display.newRect( 0, 0, 768, 1024 )
background:setFillColor( 255, 255, 255 )
background:toBack()
backgroundImage = display.newImageRect( "company\_logo.png", 280, 220 )
backgroundImage.alpha = 0
backgroundImage.x = display.contentWidth/2
backgroundImage.y = display.contentHeight/2
companyGroup = display.newGroup()
companyGroup:insert(background)
companyGroup:insert(backgroundImage)
end
displayCompanyLogo()
I have the Corona Project Manager project set to iPad.
This is what it looks like:

Why is that white rectangle positioning like that?
On another screen, I have the same background code as above and then a titleImage configured to Top Left:
titleImage = display.newImageRect( "program\_logo.png", 280, 220 )
titleImage:setReferencePoint( display.TopLeftReferencePoint )
titleImage.x = 20
titleImage.y = 20
That titleImage graphic is appearing positioned 20px in from the top and left of the white area.
Am I doing something wrong with defining that white background rectangle? Is this just a problem with the simulator?
I’ve tried setting the background to the TopLeftReferencePoint and CenterReferencePoint and it does the same thing.
I am using daily build 731, but I also tried stable build 704. Same thing on both.
So confused. Thanks for any direction you can provide. [import]uid: 17827 topic_id: 20943 reply_id: 320943[/import]
