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
Developer
Posts: 160
Registered: ‎03-12-2011
My Device: PlayBook♥
My Carrier: eplus
Accepted Solution

Forcing PlayBook not to zoom on doubleclick!

Hey guys,

 

first of all: Happy Easter! Smiley Happy

 

Here's my problem:

Some functions of my app work with doubleclicking.

The thing is, that if you double click on the latest simulator it zooms in.

 

Is there a way to turn this off? Maybe in the config.xml? Searched for it, couldn't find it :/

I'll give Kudos for answers that help me! Smiley Happy

----------
Please give free Likes if I helped you out! Smiley Happy
Highlighted
Contributor
Posts: 34
Registered: ‎03-15-2011
My Device: Torch 9800
My Carrier: Virgin Canada

Re: Forcing PlayBook not to zoom on doubleclick!

In the header of your html file add in this...

<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width, height=device-height"/>
Developer
Posts: 160
Registered: ‎03-12-2011
My Device: PlayBook♥
My Carrier: eplus

Re: Forcing PlayBook not to zoom on doubleclick!

Thank you very much!
This one seems to better:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1 initial-scale=1.0, user-scalable=no" name="viewport"/>

Smiley Happy
----------
Please give free Likes if I helped you out! Smiley Happy