Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12671] BlackBerry: Root Window does not handle fill properly

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-02-12T22:21:41.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04
ComponentsBlackBerry
Labelsn/a
ReporterRussell McMahon
AssigneeJosh Roesslein
Created2013-02-12T06:52:21.000+0000
Updated2014-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();

Comments

  1. Russell McMahon 2013-02-12

    Using the latest 2/11 github sources.
  2. Lokesh Choudhary 2013-02-12

  3. Lokesh Choudhary 2013-02-13

    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

JSON Source