[TIMOB-8045] IOS: SIZE views do not work well with left,right,top,bottom pins set
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-04-04T14:18:14.000+0000 |
| Affected Version/s | Release 2.0.0 |
| Fix Version/s | Release 2.0.0, Sprint 2012-06 |
| Components | iOS |
| Labels | module_view, qe-testadded |
| Reporter | Vishal Duggal |
| Assignee | Vishal Duggal |
| Created | 2012-03-15T14:22:39.000+0000 |
| Updated | 2012-04-04T14:36:48.000+0000 |
Description
Test case below. Only top is set but views shows up as though top and bottom were set.
var win = Ti.UI.createWindow({backgroundColor:'white'});
var parent = Ti.UI.createView({
height: Ti.UI.SIZE,
top: 10,
backgroundColor: 'green'
});
var child = Ti.UI.createView({
backgroundColor: 'blue'
});
parent.add(child);
win.add(parent);
win.open();
Closing bug. Verified fix on: SDK build: 2.0.0.v20120319003254 Titanium Studio, build: 2.0.0.201203182248 xcode: 4.2 Device: iphone 4s Verizon (5.0.1)
Reopening/closing to add/remove labels