{ "id": "116953", "key": "TIMOB-14495", "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": [], "resolution": null, "resolutiondate": null, "created": "2013-07-08T18:20:28.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:25.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Settings this using applyProperties does not work:\r\n\r\n\t\t\tview.applyProperties({\r\n\t\t\t\twidth: App.currentOrientation == \"portrait\" ? tileWidthPortrait : tileWidthLandscape,\r\n\t\t\t\tportrait: {\r\n\t\t\t\t\twidth: tileWidthPortrait\r\n\t\t\t\t},\r\n\t\t\t\tlandscape: {\r\n\t\t\t\t\twidth: tileWidthLandscape\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\nBut doing it programmatically does:\r\n\r\n\t\ttile.portrait = {\r\n\t\t\twidth: tileWidthPortrait\r\n\t\t};\r\n\t\ttile.landscape = {\r\n\t\t\twidth: tileWidthLandscape\r\n\t\t};", "attachment": [], "flagged": false, "summary": "applyProperty vs set individual property inconsistencies on Android", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": "HTC One Android 4.1.1", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }