{ "id": "103473", "key": "TIMOB-11940", "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-03-21T04:47:43.000+0000", "created": "2012-10-16T11:06:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [], "assignee": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:42:52.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": "*Problem description*\r\nSetting horizontalWrap to false on a TableViewRow does not work, and creates bad layout.\r\n\r\n*Test case*\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nwin.backgroundColor = 'white';\r\nvar data = [];\r\n\r\nfor (var x = 0; x < 1; x++) {\r\n\tvar view1 = Ti.UI.createLabel({\r\n\t\twidth : 200,\r\n\t\tbackgroundColor : 'blue',\r\n\t\ttext : 'test',\r\n\t});\r\n\r\n\tvar view2 = Ti.UI.createLabel({\r\n\t\twidth : 500,\r\n\t\tbackgroundColor : 'red',\r\n\t\ttext : 'test2'\r\n\t});\r\n\tvar row = Ti.UI.createTableViewRow({\r\n\t\theight : 50,\r\n\t\tlayout : 'horizontal',\r\n\t\thorizontalWrap : false\r\n\t});\r\n\trow.add(view1);\r\n\trow.add(view2);\r\n\tdata.push(row);\r\n}\r\n\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata : data\r\n});\r\n\r\nwin.add(tableview);\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: TableViewRow does not support horizontalWrap property", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 3.1.0 master\r\nandroid 4.0.3\r\n", "comment": { "comments": [ { "id": "223762", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "pull request https://github.com/appcelerator/titanium_mobile/pull/3248", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T11:38:48.000+0000", "updated": "2012-10-16T11:38:48.000+0000" }, { "id": "243347", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces on sdk 3.1.0\r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\r\nDevice: Samsung galaxy s duos Android version: 4.0.4\r\n\r\nbut issue reproduces on \r\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\r\n\r\n\r\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T04:47:43.000+0000", "updated": "2013-03-21T04:47:43.000+0000" }, { "id": "243353", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Seems issue have been fixed in 3.1.0 build.It reproduces in 3.0.2.So closing it now.\r\nEnvironment used for verification -\r\nTitanium SDK: 3.1.0.v20130319225749\r\nTitanium  Studio:3.0.2.201302151605\r\nDevice: LG-P970\tAndroid 2.2.2 ", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T06:10:24.000+0000", "updated": "2013-03-21T06:10:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }