PRoblem description
The customer is trying to replicate a view order from ios to mobileweb. In SDK 2.0.2GA, it's working really nice. In 2.1 CI build is broken.
Actual Results
The mobile web version is not aligned as the ios version.
Expected Results
Both UI should look the same.
TestCase
1. Create a mobile project.
2. Add this to app.js:
var win1 = Titanium.UI.createWindow({backgroundColor:'#FFFFFF'});
var mView = Ti.UI.createView({
top:20,
height:90,
left:'5%',
width:'90%',
layout:'horizontal',
backgroundColor:'#000'
});
var bar1 = Ti.UI.createView({
bottom:10,
height:80,
width:100,
backgroundColor:'green'
});
var bar2 = Ti.UI.createView({
bottom:10,
height:50,
backgroundColor:'yellow',
width:120
});
mView.add(bar1);
mView.add(bar2);
win1.add(mView)
win1.open();
This was fixed in TIMOB-8275 and will be included in the 2.1.0 release (you can use it in the CI builds today).
Confirmed.
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/2452
Verified the issue in the environment below & found it to be working properly in mobile web. Titanium Studio : 2.1.0.201206251749 SDK version : 2.1.0.v20120626104306 Chrome : 19.0.1084.56