{ "id": "90230", "key": "TIMOB-8742", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-18T17:50:30.000+0000", "created": "2012-04-16T13:04:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "layout" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "16630", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89939", "key": "TIMOB-8705", "fields": { "summary": "Android: Orientation change doesn't properly reflect the behavior for 'auto' properties", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16708", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "89847", "key": "TIMOB-8682", "fields": { "summary": "Android: Setting \"top\" to null causes \"bottom\" to not be recognized", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-16T03:32:16.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "Provide a means to \"unset\" positioning properties for a view so that layout behavior goes back to the default behavior\r\n\r\nIE:\r\n{code}\r\nview.left = 10; \r\n\r\n/// stuff happens and now you want to revert to default positioning for the element\r\nview.left = ?;\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Provide a means to \"unset\" positioning properties for a view", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": "Titanium SDK 2.1.0\r\nAndroid 2.3 device", "comment": { "comments": [ { "id": "191532", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I would prefer \"view.left = undefined\" or \"view.left = null\". The reason for that lies in the fact that people will try to do same thing on other (Titianium JS host) objects that might blow things up.", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-04-18T00:05:26.000+0000", "updated": "2012-04-18T00:05:26.000+0000" }, { "id": "191535", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "These will work too after the fix will be pushed:\r\n{code}\r\nview.left = undefined;\r\nview.left = null;\r\n{code}\r\n", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-18T00:19:35.000+0000", "updated": "2012-04-18T00:19:35.000+0000" }, { "id": "191536", "author": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Cool, thanks. :)", "updateAuthor": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-04-18T00:21:08.000+0000", "updated": "2012-04-18T00:21:08.000+0000" }, { "id": "191640", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test code (already works on iOS and MobileWeb)\r\n{code}\r\nvar win=Ti.UI.createWindow({\r\nbackgroundColor : 'blue'\r\n});\r\n \r\nvar view=Ti.UI.createView({\r\nwidth: 500,\r\nheight: 300,\r\ntop: 10,\r\nbottom: 10,\r\nleft: 0,\r\nbackgroundColor: 'red'\r\n});\r\n \r\n \r\nwin.add(view);\r\nwin.open();\r\n\r\nsetTimeout(function() {view.top=undefined;}, 2000);\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-18T13:17:00.000+0000", "updated": "2012-04-18T15:46:02.000+0000" }, { "id": "191651", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending https://github.com/appcelerator/titanium_mobile/pull/2030", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-18T13:56:05.000+0000", "updated": "2012-04-18T13:56:24.000+0000" }, { "id": "214754", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment used for verification -\r\nTested with Titanium SDK: 2.2.0.v20120815194913\r\nTested with Titanium  Studio: 2.1.1.201207271312\r\nDevice - Samsung GALAXY Note Android 2.3.6\r\nMachine OS - MAC 10.7.3", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-16T03:32:16.000+0000", "updated": "2012-08-16T03:32:16.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }