{ "id": "110823", "key": "TIMOB-12996", "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": [ { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-22T23:49:21.000+0000", "created": "2013-03-07T23:07:28.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "55820", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "169561", "key": "TIMOB-25173", "fields": { "summary": "Android: Size/Fill layout conflicts are not handled the same as iOS and Windows", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-22T23:50:57.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": "When adding an imageview and labels to a tableview row with horizontal layout will push the label down to the next line instead of wrapping the text, on iOS it will correctly wrap the text.\r\n\r\nImages attached\r\n\r\nExample code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n})\r\n\r\nvar row1 = Ti.UI.createTableViewRow({\r\nlayout: 'horizontal'\r\n})\r\n\r\nvar image1 = Ti.UI.createImageView({\r\n\timage: 'appicon.png',\r\n\theight: '50',\r\n\twidth: '50'\r\n});\r\nrow1.add(image1);\r\n\r\nvar label1 = Ti.UI.createLabel({\r\n\ttext: 'Long text is long. Long text is long. Long text is long. Long text is long. Long text is long.',\r\n\tcolor: 'black'\r\n});\r\nrow1.add(label1);\r\n\r\nvar label2 = Ti.UI.createLabel({\r\n\ttext: 'Long text is long. Long text is long. Long text is long. Long text is long. Long text is long.',\r\n\tcolor: 'gray'\r\n})\r\nrow1.add(label2);\r\n\r\nvar tvRow = [];\r\ntvRow.push(row1);\r\nvar tableView1 = Ti.UI.createTableView({\r\n\t\ttop:0, bottom:0, left:0, right:0,\r\n\t\tseparatorColor:'black',\r\n\t\tbackgroundColor: 'white',\r\n\t\tdata: tvRow,\r\n});\r\n\r\nwin.add(tableView1);\r\nwin.open();\r\n\r\n{code}", "attachment": [ { "id": "36017", "filename": "Screenshot_3_7_13_2_51_PM-3.png", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-07T23:07:28.000+0000", "size": 239851, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Unexpected layout when adding images and labels to TableViewRow", "creator": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TI SDK/Studio 3.0.2\r\nAndroid 4.1.1", "closedSprints": [ { "id": 939, "state": "closed", "name": "2017 Sprint 17 SDK", "startDate": "2017-08-13T23:08:29.095Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:10:54.125Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "248742", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\nIssue reproduces \n\nTested with\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2\nAndroid Emulator: Android SDK version: 2.2 ", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-23T08:37:02.000+0000", "updated": "2013-04-23T08:37:02.000+0000" }, { "id": "427067", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Passed FR. PR merged. Changes are seen in SDK versions:\r\n6.2.0.v20170822113609\r\n7.0.0.v20170822142802", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-22T23:25:31.000+0000", "updated": "2017-08-22T23:25:31.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }