{ "id": "61582", "key": "TIMOB-950", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:46.000+0000", "created": "2011-04-15T02:39:58.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ios", "ipad", "vertical", "vertical_layout" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:46.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

code:

\n

var w = Ti.UI.createWindow();

\n

var v = Ti.UI.createView({

\n
\nlayout:'vertical'\n
\n

}); w.add(v);

\n

var colors = ['red','blue', 'green'];
\nfor (var i=0;i<4;i++)
\n{

\n
\nvar wv = Ti.UI.createWebView({\n    height:'auto',\n    backgroundColor:colors[i],\n    html:'<html><body>I am a web view</body></html>'\n});\n\nv.add(wv);\n
\n

}

\n

w.open();

{html}", "attachment": [], "flagged": false, "summary": "web views in vertical layout with height:auto on iPad don't stack", "creator": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nwright", "key": "nwright", "displayName": "Nolan Wright", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124425", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [bdff5d81268525053100bf0700bca96b6240919d])\nMinor optimization to LayoutQueue, LayoutChildrenIfNeeded now does\na proper check of the bit by using the atomic function instead of\nsimple bitwise. Closes #950 \nhttp://github.com/appcelerator/titanium_mobile/commit/bdff5d8126852...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:39:59.000+0000", "updated": "2011-04-15T02:39:59.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }