{ "id": "106474", "key": "TIMOB-12084", "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": "2013-01-31T23:05:27.000+0000", "created": "2012-12-13T16:32:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2013-03-13T18:58:27.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": "h1. Problem description\r\nAdding a leftImage to a TableViewRow does not allow to add a padding, and the text looks too near to the image. Using the 'left' property doesn't look good either while scrolling.\r\n\r\nh1. Steps to reproduce\r\nUse the following code to reproduce the issue:\r\n\r\n{code}\r\n\r\n// Create a window\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar rows = [];\r\nfunction addRow() {\r\n var row = Ti.UI.createTableViewRow({\r\n leftImage: 'image.png',\r\n height: 400,\r\n title: \"Row \" + rows.length,\r\n left: 200,\r\n className: 'test'\r\n });\r\n \r\n rows.push(row);\r\n}\r\n\r\nfor (var i=0; i<30; i++)\r\n addRow();\r\n\r\nvar table = Ti.UI.createTableView({\r\n data: rows\r\n});\r\n\r\nwin.add(table);\r\nwin.open();\r\n{code}\r\n\r\nRunning the app, the text is not 200px from the left of the image; however, while scrolling the text is placed correctly most of the times.", "attachment": [], "flagged": false, "summary": "Android: leftImage inside TableViewRow doesn't allow padding", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Android 2.x\r\nAndroid 4.1\r\nSDK 2.1.4", "comment": { "comments": [ { "id": "236811", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce this in 3_0_X CI or master CI.\r\nMight have gotten fixed with the other table view fixes we have done. \r\nEither ways the way the code is written, it will never work on iOS", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T23:05:27.000+0000", "updated": "2013-01-31T23:05:27.000+0000" }, { "id": "240524", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Since this bug is reproducible with only SDK 2.1.4 on devices Android 2.x and Android 4.1 and is not reproducing with 3.0.0.GA and later 3.1.x(3.1.0.v20130228214607) builds so closing it.", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-04T11:45:14.000+0000", "updated": "2013-03-04T11:45:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }