{ "id": "119294", "key": "TIMOB-15005", "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": null, "resolutiondate": null, "created": "2013-08-30T07:47:01.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "supportTeam" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:20.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h2. Description\r\nIn tableviewrow having labels in it, When runs on Android 4.2.2 and 4.3 label is truncated at the end of it. This only happens when 'anyDensity=false' in the android manifest is set.\r\n\r\nh2. Testcase\r\napp.js :\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar self = Ti.UI.createView();\r\n\r\nvar tv = Ti.UI.createTableView({\r\n top: 30,\r\n bottom:30,\r\n backgroundColor:'blue'\r\n});\r\nvar rows = [];\r\n\r\nvar r1 = Ti.UI.createTableViewRow({\r\n height:50,\r\n backgroundColor:'yellow'\r\n});\r\n\r\nvar labelTitle = Ti.UI.createLabel({\r\n text : 'This is the title value for the table view row',\r\n left : 12,\r\n top: 2, \r\n height : 'auto',\r\n width : 'auto',\r\n color : '#163E5E',\r\n font : {\r\n fontSize : 15,\r\n fontWeight : 'bold'\r\n }\r\n});\r\n\r\nr1.add(labelTitle);\r\n\r\nvar labelBody = Ti.UI.createLabel({\r\n text : '01/01/2013',\r\n left : 12,\r\n top : 21,\r\n height : 'auto',\r\n width : 'auto',\r\n //color : record.BodyColor,\r\n color : '#163E5E',\r\n font : {\r\n fontSize : 12\r\n }\r\n});\r\n\r\nr1.add(labelBody);\r\n\r\n\r\nrows[0] = r1;\r\ntv.setData(rows);\r\nself.add(tv);\r\n\r\nwin1.add(self);\r\n\r\nwin1.open();\r\n\r\n{code}\r\n\r\nIn tiapp.xml :\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n{code}", "attachment": [], "flagged": false, "summary": "Android: TableViewRow Label text is truncated when anydensity=false", "creator": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Nexus 7 : android version 4.2.2\r\nNexus 7 : android version 4.3", "comment": { "comments": [], "maxResults": 4, "total": 4, "startAt": 0 } } }