{ "id": "62731", "key": "TIMOB-2099", "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-11T16:06:59.000+0000", "created": "2011-04-15T03:10:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity", "qe-testadded", "training" ], "versions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "issuelinks": [ { "id": "15243", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "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" }, "inwardIssue": { "id": "104398", "key": "TIMOB-11667", "fields": { "summary": "iOS: Label - The view is out of the border.", "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 } } } }, { "id": "17727", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-05T19:54:06.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": "{html}
Adding \"border:1, borderColor:'black'\" to a label works fine on\r\n1.4.1 under iOS, but not on 1.4.2 under Android. Under android, the\r\nentire label is blacked out, instead of a border being placed\r\naround the label.
We have a pro client interested in this now.
\nOn Android using borderColor on a view results in the view being\ncompletely filled with the borderColor.
\nAll tests were done with Titanium Mobile SDK 1.5.1
\nOn iOS this code produces a 200x300 box with rounded corners and a\nblue border.
\nOn Android this code produces a solid 200x300 blue box with rounded\ncorners.
\nvar borderWindow = Ti.UI.createWindow({\n height: 200,\n width: 300,\n top: 20\n});\n \nvar borderView = Ti.UI.createView({\n height: 200,\n width: 300,\n top: 0,\n borderRadius: 10,\n borderWidth: 2,\n borderColor: 'blue',\n textAlign: 'center',\n /*backgroundColor: 'white',*/ /* Adding \"backgroundColor: 'white'\" to the borderView, produces the same box but with a lighter blue due to the \"opacity: '.6'\" property. */\n opacity: '.6'\n});\n \nborderWindow.add(borderView);\nborderWindow.open();
\n
\n