{ "id": "62037", "key": "TIMOB-1405", "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": "11242", "name": "Release 1.6.0 M09", "archived": true, "released": true, "releaseDate": "2011-02-14" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2011-04-15T02:51:23.000+0000", "created": "2011-04-15T02:51:22.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "defect", "layout", "release-1.6.0", "tableview", "vertical" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T05:55:47.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": "{html}
I'm trying to create a tableview row with a vertival layout that\nhas 2 text labels. On Android, the labels display on top of each\nother. If i create an interior view with a vertical layout and add\nthe labels to this view, it looks as expected.
\n\n var row = Ti.UI.createTableViewRow({\n hasChild: true,\n height: 'auto', \n left:0,\n right:65,\n layout: 'vertical',\n backgroundColor:'transparent', \n });\n\n var titleLabel = Ti.UI.createLabel({\n left: 0,\n font: {fontSize:11, fontWeight:'bold'},\n color: '#fff',\n height: 'auto',\n width: 'auto',\n backgroundColor:'transparent',\n text: \"Title title title title\", \n });\n row.add(titleLabel);\n\n var subtitleLabel = Ti.UI.createLabel({\n left:0,\n font:{fontSize:11},\n color:'#ccc',\n height: 'auto',\n width: 'auto',\n backgroundColor:'#0f0',\n text: \"Subtitle. Subtitle. Subtitle. Subtitle.\"\n });\n row.add(subtitleLabel)
\n
Assigning to Don for triage.
duplicate to #3081 already marked fixed there so making this\none the duplicate.