{ "id": "108448", "key": "TIMOB-12397", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15079", "description": "2013 Sprint 02 API", "name": "2013 Sprint 02 API", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-29T08:26:05.000+0000", "created": "2013-01-23T19:27:43.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_button", "qe-testadded", "regression" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-29T08:26:05.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": "Use this code to test. The label never shows up. Affects master and 3_0_X CI. Works in 3.0.0 GA\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor:\"white\"\r\n});\r\n \r\n \r\nvar button = Ti.UI.createButton({\r\n width:200,\r\n height:200,\r\n enabled:true,\r\n backgroundImage:\"blue.png\",\r\n backgroundColor:\"red\"\r\n})\r\n \r\n \r\nvar btnLabel = Ti.UI.createLabel({\r\n text:\"I am button\",\r\n backgroundColor:\"green\"\r\n})\r\n \r\nbutton.add(btnLabel);\r\n \r\nwin.add(button);\r\nwin.open();\r\n{code} ", "attachment": [ { "id": "35082", "filename": "blue.png", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T19:28:38.000+0000", "size": 2133, "mimeType": "image/png" } ], "flagged": false, "summary": "IOS: Label inside a button does not show", "creator": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "235550", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Attaching resource for test code", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T19:28:38.000+0000", "updated": "2013-01-23T19:28:38.000+0000" }, { "id": "235559", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "master PR https://github.com/appcelerator/titanium_mobile/pull/3769\r\nBackport PR https://github.com/appcelerator/titanium_mobile/pull/3770", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T20:10:58.000+0000", "updated": "2013-01-23T20:10:58.000+0000" }, { "id": "235560", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note to QE.\nWhen closing this ticket please also close TIMOB-7841", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-23T20:12:11.000+0000", "updated": "2013-01-23T20:12:11.000+0000" }, { "id": "236399", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with: \r\nSDK:3.1.0.v20130128172329,3.0.2.v20130128174806\r\nStudio:3.0.2.201301251115\r\ndevice: iPhone3Gs(v 5.0.1)\r\n\r\nlabel inside a button is displayed properly.", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T08:25:13.000+0000", "updated": "2013-01-29T08:25:13.000+0000" }, { "id": "236400", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-29T08:25:36.000+0000", "updated": "2013-01-29T08:25:36.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }