[TIMOB-950] web views in vertical layout with height:auto on iPad don't stack
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:54:46.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | iOS |
| Labels | ios, ipad, vertical, vertical_layout |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:39:58.000+0000 |
| Updated | 2011-04-17T01:54:46.000+0000 |
Description
code:
var w = Ti.UI.createWindow();
var v = Ti.UI.createView({
layout:'vertical'
}); w.add(v);
var colors = ['red','blue', 'green'];
for (var i=0;i<4;i++)
{
var wv = Ti.UI.createWebView({
height:'auto',
backgroundColor:colors[i],
html:'<html><body>I am a web view</body></html>'
});
v.add(wv);
}
w.open();
(from [bdff5d81268525053100bf0700bca96b6240919d]) Minor optimization to LayoutQueue, LayoutChildrenIfNeeded now does a proper check of the bit by using the atomic function instead of simple bitwise. Closes #950 http://github.com/appcelerator/titanium_mobile/commit/bdff5d81268525053100bf0700bca96b6240919d"> http://github.com/appcelerator/titanium_mobile/commit/bdff5d8126852...