{ "id": "62344", "key": "TIMOB-1712", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:00:15.000+0000", "created": "2011-04-15T03:00:14.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "ios", "label", "layout" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-02T19:05:03.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": "{html}

var win = Ti.UI.currentWindow;

\n

var minLabel = Ti.UI.createLabel({

\n
\nbottom: 10,\ntext : 'should be at 10 from the bottom'\n
\n

}); win.add(minLabel);

\n

results: will crate a label positioned in the middle of\nscreen

{html}", "attachment": [], "flagged": false, "summary": "iOS - createLabel does not respect \"bottom\"", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126426", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Don't forget to set a height. The label, given no constraints\notherwise, takes up the entire height of the parent view (save for\nthe 10 on the bottom) and the text within the view is centered.\nInvalid.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:00:15.000+0000", "updated": "2011-04-15T03:00:15.000+0000" }, { "id": "408406", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-02T19:05:03.000+0000", "updated": "2017-03-02T19:05:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }