{ "id": "102856", "key": "TIMOB-11295", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14157", "description": "Sprint 2012-20 API", "name": "Sprint 2012-20 API", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-21T09:30:06.000+0000", "created": "2012-10-08T17:00:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "button", "layout", "module_button", "qe-testadded" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:41.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": "Create a new project and drop in this test code. First button is ok, the next two are bad.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar expected = Ti.UI.createButton({\r\n\ttitle:'TEST',\r\n\timage:'KS_nav_ui.png',\r\n\twidth:Ti.UI.SIZE,\r\n\ttop:10\r\n});\r\n\r\nvar fail1 = Ti.UI.createButton({\r\n\ttitle:'TEST',\r\n\timage:'KS_nav_ui.png',\r\n\twidth:'auto',\r\n\ttop:60\r\n});\r\n\r\nvar fail2 = Ti.UI.createButton({\r\n\ttitle:'TEST',\r\n\timage:'KS_nav_ui.png',\r\n\ttop:110\r\n});\r\n\r\nwin.add(expected);\r\nwin.add(fail1);\r\nwin.add(fail2);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Button with width auto or undefined does not work with image and title defined", "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": "222530", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/3126", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T17:07:25.000+0000", "updated": "2012-10-08T17:07:25.000+0000" }, { "id": "229787", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\n\r\n Tested with 3.0.0.v20121130200208 with iPhone 4 5.1.1\r\n\r\n", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T05:05:52.000+0000", "updated": "2012-12-04T05:05:52.000+0000" }, { "id": "258962", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening just to update label", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T09:27:00.000+0000", "updated": "2013-06-21T09:27:00.000+0000" }, { "id": "258963", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated label and verified.\r\nTested on:\r\nDevice: Nexus 7 tab Android Version 4.1\r\n Simulator 6.0\r\nSDK:3.1.2.v20130619101604\r\nAppcelerator Studio: 3.1.1.201306131423\r\nOS: OSX 10.8\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.2.14\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-21T09:30:06.000+0000", "updated": "2013-06-21T09:30:06.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }