Adrian Matteo
Adrian Matteo

Reputation: 987

Jquery Mobile size is too small

I'm making an app on PhoneGap using Jquery Mobile. The app runs fine on the PC browser and on the simulator, but when I install it on my phone everything is very small.

On my home page I have a listView that is searchable, and when I tap the textfield to search something the page adjusts to a more readable size.

How can I solve this? I want it to be readable from the start.

Upvotes: 24

Views: 13218

Answers (1)

bobek
bobek

Reputation: 8022

Add this in the <head> of your html:

<meta name="viewport" content="initial-scale=1, maximum-scale=1">

It will scale the page to fit your device size.

Upvotes: 93

Related Questions