{ "id": "62901", "key": "TIMOB-2269", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:15:14.000+0000", "created": "2011-04-15T03:15:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "background", "defect", "image", "ios", "ipad", "window" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:27:10.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

HD Ticket:
\nhttp://developer.appcelerator.com/helpdesk/view/52861

\n

This code shows this behavior.

\n

// this sets the background color of the master UIView (when\nthere are no windows/tab groups on it)\nTitanium.UI.setBackgroundColor('#000');

\n

// create tab group var tabGroup =\nTitanium.UI.createTabGroup();

\n

// // create base UI tab and root window // var win1 =\nTitanium.UI.createWindow({

\n
\ntitle:'Tab 1',\nbackgroundColor:'#fff',\nbackgroundImage:'winback.png',\nurl:'marcovid.js'\n
\n

}); var tab1 = Titanium.UI.createTab({

\n
\nicon:'KS_nav_views.png',\ntitle:'Tab 1',\nwindow:win1\n
\n

});

\n

var label1 = Titanium.UI.createLabel({

\n
\ncolor:'#999',\ntext:'I am Window 1',\nfont:{fontSize:20,fontFamily:'Helvetica Neue'},\ntextAlign:'center',\nwidth:'auto'\n
\n

});

\n

var right_btn = Ti.UI.createButton({

\n
\nsystemButton:Titanium.UI.iPhone.SystemButton.REFRESH\n
\n

});

\n

var right_vw = Ti.UI.createView({

\n

});

\n

right_vw.add(right_btn);
\nwin1.rightNavButton = right_vw;
\n//win1.add(label1);

\n

// // create controls tab and root window // var win2 =\nTitanium.UI.createWindow({

\n
\ntitle:'Tab 2',\nbackgroundColor:'#fff'\n
\n

}); var tab2 = Titanium.UI.createTab({

\n
\nicon:'KS_nav_ui.png',\ntitle:'Tab 2',\nwindow:win2\n
\n

});

\n

var label2 = Titanium.UI.createLabel({

\n
\ncolor:'#999',\ntext:'I am Window 2',\nfont:{fontSize:20,fontFamily:'Helvetica Neue'},\ntextAlign:'center',\nwidth:'auto'\n
\n

});

\n

win2.add(label2);

\n

// // add tabs // tabGroup.addTab(tab1);
\ntabGroup.addTab(tab2);

\n

// open tab group tabGroup.open();

{html}", "attachment": [], "flagged": false, "summary": "Background image stretches beyond its size on iPad", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127992", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Background images stretch by convention; this is correct\nbehavior.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:15:14.000+0000", "updated": "2011-04-15T03:15:14.000+0000" }, { "id": "408460", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closed as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:27:10.000+0000", "updated": "2017-03-02T19:27:10.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }