Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11741] BlackBerry: Landscape orientation limits the width of the subviews to 768px wide like the app would be portrait.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2013-05-26T17:30:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsBlackBerry
Labelsqe-closed-3.2.0, qe-testadded
ReporterDan Tamas
AssigneeJosh Roesslein
Created2012-11-10T17:10:54.000+0000
Updated2014-02-20T00:41:34.000+0000

Description

If we change the app to run in landscape mode by adding
<aspectRatio>landscape</aspectRatio>
to the *app_root/build/blackberry/bar-descriptor.xml* inside the ** tag the subviews will be limited to a max width of 768, like the app would be in portrait mode.
var win = Ti.UI.createWindow({
	backgroundColor:'#f00'
});

win.open();



var view = Ti.UI.createView({
	top:50,
	left:0,
	width:1280,
	height:100,
	backgroundColor:'#00f'
});
win.add(view);
Result attached.

Attachments

FileDateSize
capture-3.png2012-11-10T17:10:54.000+000060558

Comments

  1. Samuel Dowse 2013-11-18

    Verified fixed on: Mac OSX 10.9 Mavericks Titanium Studio, build: 3.2.0.201311160316 Titanium SDK, build: 3.2.0.v20131117001643 CLI: 3.2.0-alpha Alloy: 1.3.0 BlackBerry Simulator: 10.2.0.1791 Rotating the simulator displayed the blue bar fully across the screen. Must add
    <orientation>auto</orientation>
    into the tiapp.xml to allow orientation of the application. Closing.

JSON Source