{ "id": "114574", "key": "TIMOB-13912", "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": "15115", "description": "2013 Sprint 10 BB", "name": "2013 Sprint 10 BB", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-21T18:09:38.000+0000", "created": "2013-05-18T00:00:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_layout", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:11.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Height on views is always FILL\r\n\r\nHere is the problem:\r\nhttps://github.com/appcelerator/titanium_mobile_blackberry/blob/3_1_X/src/tibb/NativeControlObject.cpp#L587\r\n\r\nTest code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\t\r\n});\r\n\r\nvar parent = Ti.UI.createView({\r\n width: '100',\r\n height: '100',\r\n backgroundColor: 'red'\r\n});\r\n \r\nvar child = Ti.UI.createView({\r\n\theight: 50,\r\n\twidth: 50,\r\n\ttop: 25,\r\n\tleft: 25,\r\n\tbackgroundColor: 'green'\r\n});\r\n \r\nparent.add(child);\r\nwin.add(parent);\r\nwin.open();\r\n\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Blackberry: height doesn't work on views", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "252693", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull request:\n\nhttps://github.com/appcelerator/titanium_mobile_blackberry/pull/40", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-18T00:02:51.000+0000", "updated": "2013-05-18T00:02:51.000+0000" }, { "id": "252695", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Need to create a back port pull request for 3_1_X which we can merge once it is unfrozen.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-18T00:15:38.000+0000", "updated": "2013-05-18T00:15:38.000+0000" }, { "id": "252883", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the height property works as expected.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130517185716\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-20T20:31:27.000+0000", "updated": "2013-05-20T20:31:27.000+0000" }, { "id": "253146", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit...", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T18:09:05.000+0000", "updated": "2013-05-21T18:09:05.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }