newWebView has unwanted left margin

Although I assign this newWebView an X of 0, it has a pretty substantial left margin after deploying to device (iPad 2). If I open my HTML file in Safari, it properly displays without any left margin. Is this a bug?

[lua]tmpPopup = native.newWebView(0, 0, display.contentWidth, display.contentHeight - (returnx.height))[/lua]
[import]uid: 117162 topic_id: 28847 reply_id: 328847[/import]

It shouldn’t have a big left margin, no - if you can post plug and play I can tell you for certain if it is a bug or not, else you can submit a bug report with a zip demonstrating the issue. [import]uid: 52491 topic_id: 28847 reply_id: 116317[/import]

Think I figured it out. I had a config.lua file containing this:

[lua]application = {
content = {
width = 640,
height = 960,
scale = “letterBox”,
fps = 30,

–[[
imageSuffix = {
["@2x"] = 2,
}
–]]
}
}[/lua]

I renamed it to config.x and the problem went away. [import]uid: 117162 topic_id: 28847 reply_id: 116516[/import]

Ah, yes, letterboxed on iPad may do this - to fix it for iPad you’d change config.lua dimensions to iPad from iPHone4/S dimensions. [import]uid: 52491 topic_id: 28847 reply_id: 116702[/import]

OK, thanks! [import]uid: 117162 topic_id: 28847 reply_id: 116760[/import]