{ "id": "99352", "key": "TIMOB-10838", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-03-26T08:36:13.000+0000", "created": "2012-08-16T15:34:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:14:26.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 \"verticalAlign\" attribute doesn't set the vertical alignment of labels.\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=app.js}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar view = Ti.UI.createView({backgroundColor:\"white\"});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\tleft:50,\r\n\ttop:50,\r\n\theight:300,\r\n\twidth:200,\r\n\tbackgroundColor:\"red\",\r\n\tcolor:\"white\",\r\n\ttext:\"This is a top-aligned label\",\r\n\tverticalAlign:Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP\r\n});\r\n\r\nview.add(label);\r\nwin.add(view);\r\n\r\nwin.open();\r\n{code}\r\n\r\n", "attachment": [ { "id": "36644", "filename": "iOS Simulator Screen shot Mar 26, 2013 11.54.32 AM.png", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:36:52.000+0000", "size": 8827, "mimeType": "image/png" }, { "id": "30549", "filename": "Screen Shot 2012-08-17 at 12.31.58 AM.png", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-16T15:34:16.000+0000", "size": 57061, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: verticalAlign does not work for TiUILabel", "creator": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.1, iOS SDK / simulator 5.1, OSX Lion, MBP 13 2012", "comment": { "comments": [ { "id": "218352", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "The verticalAlign property is only valid for MobileWeb. Check our documentation at this page for more information: http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.Label-property-verticalAlign\r\n\r\nMoved the bug as a new feature request.", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-09-11T05:41:26.000+0000", "updated": "2012-09-11T05:41:26.000+0000" }, { "id": "218353", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\nI don't think this is only mobile, cause it's also in documentation:\r\n\r\nhttp://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.Label-property-verticalAlign\r\n\r\n\r\nThis works perfectly with current unstable release (I use 2.2.0 from August). Only with 2.1 it doesn't work.", "updateAuthor": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-11T05:44:39.000+0000", "updated": "2012-09-11T05:44:39.000+0000" }, { "id": "218508", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Ben - As mentioned in the link you specified (using HTML5 icon), this is a Mobile Web only property in 2.1 release.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-11T21:33:47.000+0000", "updated": "2012-09-11T21:33:47.000+0000" }, { "id": "219196", "author": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi neeraj,\r\nthx. So this is a feature of the next upcoming major release?\r\n", "updateAuthor": { "name": "benlebt", "key": "benlebt", "displayName": "Ben S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-16T15:20:12.000+0000", "updated": "2012-09-16T15:20:12.000+0000" }, { "id": "244102", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 5.1,6.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-26T08:36:13.000+0000", "updated": "2013-06-20T13:44:01.000+0000" }, { "id": "414553", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:14:26.000+0000", "updated": "2017-03-21T22:14:26.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }