{ "id": "153057", "key": "TIMOB-19952", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-12-04T00:25:03.000+0000", "created": "2015-11-13T05:35:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.2.0" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-05T00:04:30.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Currently {{Ti.UI.Button}} doesn't support {{image}} property.\r\n\r\n{code:javascript}\r\nvar window = Ti.UI.createWindow({\r\n backgroundColor: 'green'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: '100%',\r\n height: 150\r\n});\r\n\r\nvar button = Ti.UI.createButton({ title: 'Bar bar bar' });\r\n//button.image = \"http://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png\";\r\nbutton.image = Ti.Filesystem.getFile('Logo.png').read();\r\n\r\nview.add(button);\r\n\r\nwindow.add(view);\r\nwindow.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Image support for Ti.UI.Button", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 529, "state": "closed", "name": "2015 Sprint 24 SDK", "startDate": "2015-11-21T01:30:12.670Z", "endDate": "2015-12-05T01:30:00.000Z", "completeDate": "2015-12-07T03:57:17.094Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "372029", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/491", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-03T08:57:25.000+0000", "updated": "2015-12-03T08:57:25.000+0000" }, { "id": "376063", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, issue resolved with PR related to .
\r\nTested on:
Nokia Lumia 928 (8.1)\r\nWindows Simulator (8.1)\r\n
Windows 8.1
\r\nStudio: 4.5.0.201602040421
\r\nTi SDK: 5.2.0.v20160204140025
\r\nAppc NPM: 4.2.3-2
\r\nApp CLI: 5.2.0-242\r\n
Node v4.2.6
\r\nClosing Ticket.", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-04T23:50:33.000+0000", "updated": "2016-02-04T23:50:33.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }