{ "id": "109049", "key": "TIMOB-12555", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15095", "description": "2013 Sprint 03 BB", "name": "2013 Sprint 03 BB", "archived": true, "released": true, "releaseDate": "2013-02-11" }, { "id": "14813", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-02T01:45:33.000+0000", "created": "2013-02-01T21:18:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "25433", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "109052", "key": "TIMOB-12556", "fields": { "summary": "BlackBerry: Use the real screen density for computing measurements.", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:01.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": "h3. Problem:\r\nCurrently all the controls that we see in the screen, tested with KS, look tiny and cut off. Also, dimensions are not working, dp, dip, etc..\r\n\r\nh3. Test code:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar b3 = Titanium.UI.createButton({\r\n\tcolor:'#fff',\r\n\ttop: 100,\r\n\tbackgroundColor:'red',\r\n\twidth: '200dp',\r\n\theight: '60dip',\r\n\ttitle: 'Hello Button'\r\n});\r\n\r\nwin.add(b3);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh3. Expected\r\nYou should see a button, normal size, in the window\r\nh3. Current result:\r\nThe button is tiny and cut off", "attachment": [], "flagged": false, "summary": "BlackBerry Layout is messed up", "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": "236942", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The likely cause is not providing the correct screen density to layout.\nRight now it is hard coded to 96 which is probably too small.\n\nTo resolve this issue we will need to query the screen information and set the correct density.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-01T21:22:27.000+0000", "updated": "2013-02-01T21:22:27.000+0000" }, { "id": "236945", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull request:\nhttps://github.com/appcelerator/titanium_mobile_blackberry/pull/20", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-01T21:26:26.000+0000", "updated": "2013-02-01T21:26:26.000+0000" }, { "id": "236946", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Josh, values passed in, such as \"dp\" where getting ignored. Worked with Russ to figure out the issue. It is working as expected in my PR", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-01T21:27:50.000+0000", "updated": "2013-02-01T21:27:50.000+0000" }, { "id": "240071", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue & layout is proper now\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201302221817\r\nTi BB SDK : 3.1.0.v20130227112907\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nDev alpha B 10 device", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-02-27T22:52:04.000+0000", "updated": "2013-02-27T22:52:04.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }