[TIMOB-12707] MobileWeb: Ti.UI.View.center property does not work.
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-06-26T22:15:09.000+0000 |
Affected Version/s | Release 3.0.0, Release 3.0.2 |
Fix Version/s | n/a |
Components | MobileWeb |
Labels | mobileweb |
Reporter | Carter Lathrop |
Assignee | Unknown |
Created | 2013-02-08T15:52:25.000+0000 |
Updated | 2018-04-04T23:20:25.000+0000 |
Description
*Steps to reproduce:*
1) open project from attachment in Titanium studio
2) run it (as mobile web)
*Expected result:*
see attached image bug_center_expected.png
*Actual result:*
see attached image bug_center_actual.png
*Code from project:*
{noformat}
var win = Titanium.UI.createWindow({
backgroundColor: '#FFFFFF',
});
var view = Ti.UI.createView({
backgroundColor: 'red',
center: {'x': 50, 'y': 50},
width: 20,
height: 70,
}),
view2 = Ti.UI.createView({
backgroundColor: 'green',
center: {'x': 100, 'y': 100},
width: 40,
height: 50,
}),
view3 = Ti.UI.createView({
backgroundColor: 'blue',
center: {'x': 150, 'y': 150},
width: 60,
height: 30,
});
win.add(view);
win.add(view2);
win.add(view3);
win.open();
{noformat}
Attachments
Tested and confirmed that center property not working as expected. On: Titanium Studio, build: 3.0.1.201212181159 and SDK: 3.0.23
Resolving as "Won't Fix" as MobileWeb has been deprecated.
Closing as will not fix.