[TIMOB-12671] BlackBerry: Root Window does not handle fill properly
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-02-12T22:21:41.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04 |
| Components | BlackBerry |
| Labels | n/a |
| Reporter | Russell McMahon |
| Assignee | Josh Roesslein |
| Created | 2013-02-12T06:52:21.000+0000 |
| Updated | 2014-06-19T12:42:49.000+0000 |
Description
The follow code does not fill the whole window. Using a view attached to the root window and filling it works fine.
var win = Ti.UI.createWindow({
backgroundColor: 'green',
width: Ti.UI.FILL,
height:Ti.UI.FILL
});
var view = Ti.UI.createView({
backgroundColor: 'red',
width: 100,
height: '100'
});
win.add(view);
win.open();
Using the latest 2/11 github sources.
Verified the fix by executing the given code on BB simulator Closing as getting the expected results Environment: Ti Studio : 3.1.0.201302101654 Ti BB SDK : 3.1.0.v20130212145409 Mac OSX : 10.8.2 win 7 64 bit Win 8 BB simulator : 10.0.9.386