{ "id": "61611", "key": "TIMOB-979", "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": "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": "2012-06-22T11:33:34.000+0000", "created": "2011-04-15T02:40:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T22:42:22.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": "{html}

maybe it's discussable but i think it's a bug because there are\r\nno properties marked as \"must set\".
\r\nwhen loading the attached tableview the text is fine but the second\r\nlabel (l2) in the first and third row is not in the row/view and\r\nhas no bottom:1. rows with 2 or more lines of text in the first\r\nlabel (l1) will be displayed correct.
\r\nin the given example code the positions are corrected after\r\nscrolling up and down but then some parts of the text are\r\nblurred.

\r\n

example code (based on the KS-example):

\r\n

edit: uploaded code, formatting doesn't work.

{html}", "attachment": [ { "id": "17902", "filename": "test.js", "author": { "name": "markusgerlach", "key": "markusgerlach", "displayName": "Markus Gerlach", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:40:40.000+0000", "size": 1030, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: TableView -Vertical Layout: wrong positioning on load & blurred after scroll", "creator": { "name": "markusgerlach", "key": "markusgerlach", "displayName": "Markus Gerlach", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "markusgerlach", "key": "markusgerlach", "displayName": "Markus Gerlach", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "199767", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Code\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\nvar tv = Ti.UI.createTableView({minRowHeight:20});\r\nvar text = [];\r\ntext[0] = 'I am a short sentence.';\r\ntext[1] = 'I am a long sentence that is repeated the most in order to take up the most amount of room in a table view row.';\r\ntext[2] = 'I am a short sentence.';\r\ntext[3] = 'I am a long sentence that is repeated the most in order to take up the most amount of room in a table view row.I am a long sentence that is repeated the most in order to take up the most amount of room in a table view row.';\r\nvar data = [];\r\nfor (var i=0;i<4;i++)\r\n{\r\nvar row = Ti.UI.createTableViewRow({height:'auto'});\t\r\nvar textView = Ti.UI.createView({\r\n\theight:Ti.UI.SIZE,\r\n\tlayout:'vertical',\r\n\ttop:1,\r\n\tbottom:1\r\n});\t\r\nvar l1 = Ti.UI.createLabel({\r\n\ttext:text[i],\r\n\theight:'auto',\r\n\tfont:{fontSize:13,fontWeight:'normal'},\t\t\r\n});\r\ntextView.add(l1);\r\nvar l2 = Ti.UI.createLabel({\r\n\ttext:'dorem',\r\n\theight:'auto',\r\n\tfont:{fontSize:10,fontWeight:'bold'}\r\n});\r\ntextView.add(l2);\r\nrow.add(textView);\t\r\ndata.push(row);\r\n}\r\ntv.setData(data);\r\nwin.add(tv);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-22T11:33:19.000+0000", "updated": "2012-06-22T11:33:19.000+0000" }, { "id": "410818", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T22:42:22.000+0000", "updated": "2017-03-09T22:42:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }