[TIMOB-1685] Issue with border appearance - no borders on iPhone, missing left on iPad
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:59:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | iOS |
Labels | defect, ios, premium |
Reporter | Thomas Huelbert |
Assignee | Blain Hamon |
Created | 2011-04-15T02:59:21.000+0000 |
Updated | 2017-03-02T19:24:49.000+0000 |
Description
1.create a new ipad project, and a new iphone one
2.replace the contents of app.js with:
Ti.UI.setBackgroundColor("#fff");
function alert3 (title, msg) {
var that = this;
this.alertWin = Ti.UI.createWindow(
{opacity: 0.9,
backgroundColor: "#777",
top: "10%", height: "75%", width: "90%", zIndex: 2
});
this.alertText = Ti.UI.createWebView(
{
left: 5, right: 5, top: 40, bottom: 40,
html: "<html><body style='color:#fff; font-family: sans-serif;'>"+
msg+"</body></html>",
color: "#fff",
backgroundColor: "transparent",
font:{fontSize:16}
});
this.alertWin.add(this.alertText);
this.alertWin.open();
}
alert3("hello", "world");
4.run it on both platforms and ote the appearance of the border
results:none on iPhone, the left border missing on iPad
Attachments
File | Date | Size |
---|---|---|
4184ipad.tiff | 2011-04-15T02:59:22.000+0000 | 6570 |
4184iphone.tiff | 2011-04-15T02:59:22.000+0000 | 17014 |