{ "id": "89847", "key": "TIMOB-8682", "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:15.000+0000", "created": "2012-04-11T12:47:44.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "core", "module_view", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16708", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "90230", "key": "TIMOB-8742", "fields": { "summary": "Android: Provide a means to \"unset\" positioning properties for a view", "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 } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-12T13:25:32.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. Problem\r\n\r\nSetting top=null on the view causes bottom to not be recognized\r\n\r\nh3. Steps to Reproduce\r\n\r\nRun the sample code below:\r\n\r\n{noformat}\r\n\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: null,\r\nbottom: 0,\r\nleft: 0,\r\nbackgroundColor: 'green'\r\n});\r\n\r\n\r\nwin.add(view);\r\nwin.open();\r\n\r\n{noformat}\r\n\r\nOn 1.8.2 the \"green\" view fills up the entire window(screenshot1) but on the 2.0 CI, with top=null and bottom as 0, the view still is at the top instead of anchoring in the bottom (screenshot2)", "attachment": [ { "id": "26982", "filename": "screenshot1.png", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-11T12:47:44.000+0000", "size": 502961, "mimeType": "image/png" }, { "id": "26983", "filename": "screenshot2.png", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-04-11T12:47:44.000+0000", "size": 456273, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Setting \"top\" to null causes \"bottom\" to not be recognized", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Titanium SDK: 2.0 CI", "comment": { "comments": [ { "id": "191609", "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-18T11:27:41.000+0000", "updated": "2012-04-18T11:27:41.000+0000" }, { "id": "199512", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206200844\r\nTi Mobile SDK 2.1.0.v20120619172256 hash rd3a84b13\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1\r\n\r\nThe expected behavior is shown", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-20T19:49:18.000+0000", "updated": "2012-06-20T19:49:18.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }