{ "id": "155027", "key": "TIMOB-20450", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2019-12-04T23:38:44.000+0000", "created": "2016-02-19T12:20:41.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engTriage", "texfield" ], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [], "assignee": null, "updated": "2019-12-04T23:38:44.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": "I have a textfield with 28dp height, and the fontSize of the textfield is 14dp. (14sp gives same result)\r\n\r\nAttached is a screenshot of the result. It doesn't align properly and you can't see the top part of the string", "attachment": [ { "id": "58281", "filename": "Screen Shot 2016-02-19 at 12.18.37.png", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-19T12:13:19.000+0000", "size": 8860, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Font in textfield isn't vertically aligned properly so it will fall off screen with a bigger font", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android, tried it on 5.1 and 5.0.2", "comment": { "comments": [ { "id": "377366", "author": { "name": "macasfaj", "key": "macasfaj", "displayName": "Miguel Ángel Castaño", "active": true, "timeZone": "Europe/Berlin" }, "body": "I have the same problem. Always Android 5.X.", "updateAuthor": { "name": "macasfaj", "key": "macasfaj", "displayName": "Miguel Ángel Castaño", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-19T12:39:22.000+0000", "updated": "2016-02-19T12:39:22.000+0000" }, { "id": "377367", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Good to notice indeed. My 5.0.2 and 5.1 I mentioned are Ti.SDK", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-19T12:44:17.000+0000", "updated": "2016-02-19T12:44:17.000+0000" }, { "id": "377534", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~topener], Try a textfield without setting a height. The textField height will automatically set according to the font size. Thanks.\r\n{code}\r\nvar textField = Ti.UI.createTextField({\r\n borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n color: '#336699',\r\n borderColor : '#000',\r\n backgroundColor : 'transparent',\r\n top: 100, left: 10,\r\n width: 250,\r\n font: { fontSize: '14dp' },\r\n});\r\n{code}\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-22T17:41:07.000+0000", "updated": "2016-02-22T17:41:07.000+0000" }, { "id": "377638", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks, but that only works sometimes. This does require the textfield to be taller/higher than actually intended. ", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-23T12:25:47.000+0000", "updated": "2016-02-23T12:25:47.000+0000" }, { "id": "453036", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After speaking to Rene, closing as invalid.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-04T23:38:44.000+0000", "updated": "2019-12-04T23:38:44.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }