[TIMOB-24824] Windows: Horizontal layouts do not behave correctly with 'right'
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-15T01:25:39.000+0000 |
| Affected Version/s | Release 6.1.0 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Kota Iguchi |
| Created | 2017-06-14T23:57:46.000+0000 |
| Updated | 2017-06-15T01:25:39.000+0000 |
Description
Views contained in a horizontal layout using
right do not display correctly.
var win = Ti.UI.createWindow({title: 'TIMOB-24277', backgroundColor: 'gray', layout: 'horizontal'}),
a = Ti.UI.createView({
height: 100,
width: 100,
borderColor: 'red',
borderWidth: 5,
backgroundColor: 'blue',
right: 10
}),
b = Ti.UI.createView({
height: 100,
width: 100,
borderColor: 'purple',
borderWidth: 5,
backgroundColor: 'orange',
right: 10
});
win.add([a, b]);
win.open();
No comments