{ "id": "63206", "key": "TIMOB-2574", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "13503", "description": "Sprint 2012-14 Core", "name": "Sprint 2012-14 API", "archived": true, "released": true, "releaseDate": "2012-07-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-11T16:31:18.000+0000", "created": "2011-04-15T03:23:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "api", "module_label", "parity", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "14631", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "85148", "key": "TIDOC-53", "fields": { "summary": "APIDoc: Document verticalAlign for Labels on Android", "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": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22261", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "94789", "key": "TIMOB-9923", "fields": { "summary": "Android: Labels disappear if width or height is set to SIZE", "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 } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-24T22:57:13.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": "h2. Problem\r\n\r\nThe same way it is possible to do Vertical Alignment with TextFields, it wold be great to have the property verticalAlign: on Labels as well\r\n\r\nverticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP\r\nverticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_MIDDLE\r\nverticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_BOTTOM\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'black',\r\n\texitOnClose: true,\r\n\tfullscreen: false,\r\n\tlayout: 'vertical',\r\n\ttitle: 'Label verticalAlign Demo'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\tbackgroundColor: 'white',\r\n\tcolor: 'black',\r\n\ttext: 'this is a test',\r\n\tverticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_BOTTOM,\r\n\theight: 100\r\n});\r\nwin.add(label);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Expose verticalAlign for Labels", "creator": { "name": "antoniocarlossilveira", "key": "antoniocarlossilveira", "displayName": "Antonio Carlos Silveira", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128818", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "{html}
Just chiming in on this LH ticket. This is a very common request\nfrom iOS developers. There are numerous requests found in the Q/A\nforum. Here's one such request from the help desk - http://developer.appcelerator.com/helpdesk/view/61071