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
Regular Contributor
Cesar_Vanatur
Posts: 76
Registered: ‎02-17-2010
My Device: Storm
Accepted Solution

Playbook. WebWork. My application seems to be on a smaller screen.

Hello everyone.

  I have an app that runs on the simulator 0.9.3, but I've tried the same application in the simulator 0.9.4 and the application looks as if the screen was 800x600 px. Why?

  Does anyone have any explanation?.

  I think that has changed the SDK version and the version of the simulator. : (

   My app is a webwork.

  Thanks, kind regards.

Regular Contributor
Cesar_Vanatur
Posts: 76
Registered: ‎02-17-2010
My Device: Storm

Re: Playbook. WebWork. My application seems to be on a smaller screen.

Hello again.

 

 I do some tests and I have this information:

 

( Playbook Simulator 0.9.4)

 

screen.availHeight   =>  768

screen.availWidth    =>  1280

 

 

( Playbook Simulator 0.9.3)

 

screen.availHeight   =>  600

screen.availWidth    =>  1024

 

In 0.9.4 Simulator all elements shows bigger than in 0.9.3 simulator. 

 

What's happening?

 

Thanks, kind regards.

 

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

Re: Playbook. WebWork. My application seems to be on a smaller screen.

Hi There,

 

There are various threads on this topic.... here is one that may help out:

 

http://supportforums.blackberry.com/t5/Web-Development/Did-the-0-9-4-simulator-change-the-device-pix...

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Regular Contributor
Cesar_Vanatur
Posts: 76
Registered: ‎02-17-2010
My Device: Storm

Re: Playbook. WebWork. My application seems to be on a smaller screen.

By Including this  tag in a <head> has solved font size ,screen height and width problems

 

Now  display is consistant across both the simulators

 

<meta name="viewport" content= "width=device-width, height=device-height, initial-scale=1.0">

 

 

Thanks!