{ "id": "106299", "key": "TIMOB-12027", "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": "15273", "description": "2013 Sprint 05 API", "name": "2013 Sprint 05 API", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-27T22:27:16.000+0000", "created": "2012-12-11T21:12:03.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "exalture", "parity", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "23499", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "106300", "key": "TIMOB-12028", "fields": { "summary": "Mobileweb: View borderWidth with 'dp' dimensions does not show on Mobileweb", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "23500", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "106300", "key": "TIMOB-12028", "fields": { "summary": "Mobileweb: View borderWidth with 'dp' dimensions does not show on Mobileweb", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2014-06-19T12:42:55.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": "h2. problem\r\n\r\nIf the *borderWidth* property of a Titanium view is specified density independently (dp), it does not show up on Android. If you remove the *dp* suffix on the *borderWidth* property, everything works as expected. This problem also occurs on Mobileweb (). This problem does not occur on iOS.\r\n\r\nh2. expected behavior\r\n\r\nThe border should appear as expected whether or not density independent (dp) dimensions are specified for the *borderWidth* property.\r\n\r\nh2. test case \r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#fff'\r\n});\r\nvar view = Ti.UI.createView({\r\n\theight: '100dp',\r\n\twidth: '100dp',\r\n\tbackgroundColor: '#888',\r\n\tborderColor: '#000',\r\n\tborderWidth: '3dp' // error, no border appears\r\n\t//borderWidth: 3 // this works as expected\r\n});\r\nwin.add(view);\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: View borderWidth with 'dp' dimensions does not show on Android", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.0.0\r\nAndroid emulator", "comment": { "comments": [ { "id": "235007", "author": { "name": "joliva", "key": "joliva", "displayName": "John Oliva", "active": true, "timeZone": "America/New_York" }, "body": "This also seems to be an issue for borderRadius.", "updateAuthor": { "name": "joliva", "key": "joliva", "displayName": "John Oliva", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-19T06:31:10.000+0000", "updated": "2013-01-19T06:31:10.000+0000" }, { "id": "239560", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "PR\r\nhttps://github.com/appcelerator/titanium_mobile/pull/3903", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-24T11:17:08.000+0000", "updated": "2013-02-24T11:17:08.000+0000" }, { "id": "241720", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK: 3.1.0.v20130312015656\r\nStudio: 3.1.0.201303091040\r\nDevice: Android emulator\r\nOS: OSX 10.7.5\r\n\r\nworks as expected", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-12T09:33:16.000+0000", "updated": "2013-03-12T09:33:16.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }