Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 14
Registered: ‎02-25-2011
My Device: Not Specified

Playbook Orientation not working?

I am making a widget for the blackberry playbook and want to accomadate for both orientations: landscape and portriat. 

 

My CSS is working fine upon launch in any orientation, however when i change orientation AFTER launching the widget, it seems as though the window size does not change and my CSS specific for that orientation is never applied.

 

I have also tried listening for orientation change and resize on the window and it seems as though it doesnt work.

 

I am testing on the playbook itself and not the simulator.

Contributor
Posts: 14
Registered: ‎02-25-2011
My Device: Not Specified

Re: Playbook Orientation not working?

Oh and I am compiling using the latest build of Webworks for Playbook.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Playbook Orientation not working?

Which version of the PlayBook OS are you running?

 

When you press and hold on your icon on the home screen and select "delete".. will your application delete from the home screen?  Strange question I know.. but it is a symptom of a problem that also affects orientation.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 14
Registered: ‎02-25-2011
My Device: Not Specified

Re: Playbook Orientation not working?

I am running OS 1.0.1.1690

 

And yes, it does get deleted and I am able to re-deploy the widget.

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Playbook Orientation not working?

Have you tried the latest build of the PlayBook 1.0.3.x

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 14
Registered: ‎02-25-2011
My Device: Not Specified

Re: Playbook Orientation not working?

Not yet. Are any orientation issues addressed in that update?

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Playbook Orientation not working?

I don't know of any "specific" orientation issue that had been addressed.  I know that there were many issues that were fixed.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Contributor
Posts: 14
Registered: ‎02-25-2011
My Device: Not Specified

Re: Playbook Orientation not working?

Just updated the OS and still no dice. The orientationchange event just does not get fired.