{ "id": "104398", "key": "TIMOB-11667", "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": "14700", "description": "2012 Sprint 25", "name": "2012 Sprint 25", "archived": true, "released": true, "releaseDate": "2012-12-17" }, { "id": "14784", "description": "2012 Sprint 25 API", "name": "2012 Sprint 25 API", "archived": true, "released": true, "releaseDate": "2012-12-17" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-12-04T21:55:50.000+0000", "created": "2012-11-05T19:52:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-ios214" ], "versions": [ { "id": "14613", "description": "Release 2.1.4", "name": "Release 2.1.4", "archived": true, "released": true, "releaseDate": "2012-11-12" } ], "issuelinks": [ { "id": "22533", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "61316", "key": "TIMOB-684", "fields": { "summary": "Android: Border properties are broken for ImageView", "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 } } } }, { "id": "22532", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "62731", "key": "TIMOB-2099", "fields": { "summary": "Android: border properties broken for Label", "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 } } } }, { "id": "22531", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "92984", "key": "TIMOB-9459", "fields": { "summary": "Android: TextArea: The text of the label comes over the border of the label.", "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": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:58.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "While testing Label I noticed the content of the white square label is over its blue rounded border.\r\n*not a regression* occurs on 2.1.3\r\nTest steps:\r\n1. Run this code below\r\n{code}\r\nvar borderWindow = Ti.UI.createWindow({\r\n height: 200,\r\n width: 300,\r\n top: 20\r\n});\r\n \r\nvar borderView = Ti.UI.createView({\r\n height: 200,\r\n width: 300,\r\n top: 0,\r\n borderRadius: 10,\r\n borderWidth: 2,\r\n borderColor: 'blue',\r\n textAlign: 'center',\r\n opacity: '.6'\r\n});\r\n \r\nborderWindow.add(borderView);\r\nborderWindow.open();\r\n{code}\r\n\r\nActual result(according to code):\r\nThe label's content comes over the border. See screenshots.\r\nExpectes result:\r\nThe view should be inside of its border.", "attachment": [ { "id": "33189", "filename": "Screenshot _border_ios5.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-05T19:52:44.000+0000", "size": 57960, "mimeType": "image/png" }, { "id": "33190", "filename": "Screenshot_border_iPad4.3.5.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-05T19:52:44.000+0000", "size": 60674, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Label - The view is out of the border.", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nTitanium Studio, build: 3.0.0.201210301422\r\nTitanium SDK, build: 2.1.4.v20121030173408\r\nDevices:\r\niPhone5 ios 6.0\r\niPad2 ios 4.3.5", "comment": { "comments": [ { "id": "229949", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The border is applied to the View not the window. So you are seeing a white square around the window (probably because somewhere in the code you have Ti.UI.setBackgroundColor('white') or equivalent). Explicitly set window background to transparent and it should be fine.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T21:52:59.000+0000", "updated": "2012-12-04T21:52:59.000+0000" }, { "id": "240644", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Relate this issue to TIMOB-2099.\nClosing as invalid.\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T23:16:15.000+0000", "updated": "2013-03-04T23:16:15.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }