{ "id": "88805", "key": "TIMOB-8297", "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": "15107", "description": "2013 Sprint 09", "name": "2013 Sprint 09", "archived": true, "released": true, "releaseDate": "2013-05-06" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-04-26T07:13:21.000+0000", "created": "2012-03-25T16:09:57.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T18:13:56.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": "aligning text inside a TextField vertically centered does not work if height property is used.\r\n\r\nPlease run the attached sample app to reproduce this issue:\r\n\r\n{noformat}\r\n\r\nvar win = Ti.UI.createWindow({backgroundColor: '#000000'});\r\n\r\nvar textField = Ti.UI.createTextField({\r\n\tbackgroundColor: '#444444',\r\n\tborderColor: '#999999',\r\n\tborderRadius: 3.5,\r\n\tborderWidth: 1,\r\n\tcolor: '#ffffff',\r\n\tfont: {\r\n\t fontFamily: 'Helvetica', \r\n\t fontSize: 16,\r\n\t fontWeight: 'bold'\r\n\t},\r\n\theight: 35,\r\n\topacity: 0.7,\r\n\tpaddingLeft: 8,\r\n\tpaddingTop: 8,\r\n\tvalue: \"John Doe\",\r\n\twidth: 285\r\n});\r\n\r\nwin.add(textField);\r\n\r\n\r\nwin.open();\r\n\r\n{noformat}\r\n\r\nIt works with height removed increasing textfield height will make this bug reappear. ", "attachment": [], "flagged": false, "summary": "Android: Having height property in textfield makes the textfield to not be vertically centered", "creator": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile CI\r\nPlatform OS: Android\r\nPlatform OS Version: 2.3.3", "comment": { "comments": [ { "id": "242892", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "it can't be treated as a bug.\n\nincrease the value of height property, it woks fine.\n\ntry\n\nheight:100\n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\n\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-19T12:23:46.000+0000", "updated": "2013-03-19T12:23:46.000+0000" }, { "id": "249096", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "invalid \r\n\r\nTested with\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0\r\nAndroid Emulator: Android SDK version: 2.2 \r\n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-26T07:13:21.000+0000", "updated": "2013-04-26T07:13:21.000+0000" }, { "id": "415645", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:13:56.000+0000", "updated": "2017-03-24T18:13:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }