{ "id": "61495", "key": "TIMOB-863", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:29.000+0000", "created": "2011-04-15T02:38:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:29.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}

In the zIndex test the descriptive labels are not given a\nheight. During layout if no border attribute is supplied in a\nvertical dimension, but a height is given, the item should be\ncentered in parent view, not placed from the top.

\n

var l = Ti.UI.createLabel({

\n
\ntext:'scroll view: red on top, blue in the middle, pink below',\ncolor:'#777',\nwidth:300,\nfont:{fontSize:12}\n
\n

});

\n

Implies \"auto\" with vertical centering.

{html}", "attachment": [], "flagged": false, "summary": "Android: KS zIndex Test. Labels aren't centering vertically", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124217", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [fae3442e85164bc616e31441fa5de28fb18e41fa])\n[#987\nstate:fixed-in-qa][#1472 state:fixed-in-qa][#1856\nstate:fixed-in-qa][#863 state:fixed-in-qa] scroll view support\nvertical layout. Fixed other layout issues with scrollview. Note:\n#863\nthe KS test seems to have been changed to include top. I removed\ntop and the label display as expected. \nhttp://github.com/appcelerator/titanium_mobile/commit/fae3442e85164...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:38:04.000+0000", "updated": "2011-04-15T02:38:04.000+0000" }, { "id": "124218", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.4.2.4ce7ff G1 running 1.6, 2.2 simulator

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:38:05.000+0000", "updated": "2011-04-15T02:38:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }