{ "id": "92915", "key": "TIMOB-9431", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13400", "description": "Sprint 2012-12 Mobile Web", "name": "Sprint 2012-12 MW", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-14T13:53:39.000+0000", "created": "2012-06-06T16:51:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-06-26T13:49:24.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "h4. Problem Description\r\nWhen you put a button inside a TableViewRow and you add a vertical inside the row, It won't display in mobileweb.\r\n\r\nh4. Actual Results\r\nThe button is not displayed inside the TableViewRow.\r\n\r\nh4. Expected Results\r\nThe button displayed as in iOS case. \r\n\r\nh4. Test Case\r\n1. Create new mobile project.\r\n2. Paste app.js:\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({backgroundColor:'#FFFFFF'});\r\n\r\nvar data=[]\r\nvar row = Titanium.UI.createTableViewRow({\r\n\tbackgroundColor:'#FFFFFF', \r\n\tleft:0, right:0, height: 125, \r\n layout: 'vertical'\r\n});\r\n\r\nvar matchLabel = Titanium.UI.createLabel({\r\n\t\t\tleft:'5%',\r\n\t\t\tright:'5%',\r\n\t\t\ttop:5,\r\n\t\t\theight:50,\r\n\t\t\ttext:'Vertical layout',\r\n\t\t\tcolor:'#363636',\r\n\t\t\tfont: {\r\n\t\t\t\tfontSize:14,\r\n\t\t\t\tfontfamily:'Helvetica Neue'\r\n\t\t\t}\r\n\t\t});\r\nvar testButton = Titanium.UI.createButton({\r\n\t\t\ttitle:'Testing',\r\n\t\t\tbackgroundImage : '/KS_nav_ui.png',\r\n\t\t\ttop:5,\r\n\t\t\tbottom:24,\r\n\t\t\tleft:'5%',\r\n\t\t\tright:'5%',\r\n\t\t\theight:41,\r\n\t\t\t//borderRadius:4,\r\n\t\t\tfont: {\r\n\t\t\t\tfontFamily:'Helvetica Neue',\r\n\t\t\t\tfontWeight:'bold',\r\n\t\t\t\tfontSize:18\r\n\t\t\t},\r\n\t\t\tcolor: '#FFFFFF'\r\n\t\t});\r\n\t\trow.add(matchLabel);\r\n\t\trow.add(testButton);\r\n\t\t\r\ndata.push(row)\r\nvar tableView = Titanium.UI.createTableView({\r\n\t\t\tdata : data,\r\n\t\t\tscrollable : true,\r\n\t\t\tseparatorColor : '#e7e7e7',\r\n\t\t\ttop:73\r\n\t\t});\r\nwin1.add(tableView)\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "MobileWeb: With Vertical Layout in TableViewRow, the buttons inside are not displayed ", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 2.1.0.v20120606105255.9f0f0ba\r\nPlatform & version: Mobile Web, Chrome, Mac OSX \r\nDevice Details: Mobile Web, Chrome, Mac OSX \r\nHost Operating System: OSX 10.7.3 \r\nTitanium Studio version: 2.0.2", "comment": { "comments": [ { "id": "198284", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2381", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-12T18:44:41.000+0000", "updated": "2012-06-12T18:44:41.000+0000" }, { "id": "200384", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue in chrome in the environment below & we are able to see the button.\r\n\r\nTitanium Studio : 2.1.0.201206251749\r\nSDK version : 2.1.0.v20120626104306\r\nChrome : 19.0.1084.56", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-26T13:49:24.000+0000", "updated": "2012-06-26T13:49:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }