jdb
25 Aug 2011, 9:33 AM
Hi, I just want to simulate what the "2x" button does on the iPad, by scaling everything 200%.
According to this article (http://www.sencha.com/blog/resolution-independent-mobile-ui) it should be something like this:
body.x-ipad-os.x-phone { font-size: 200%;}
However, not sure about the 'ipad' term in red. I know Sencha looks at the browser agent but how it determines which css tag? How should I do it?
Thanks
JD
According to this article (http://www.sencha.com/blog/resolution-independent-mobile-ui) it should be something like this:
body.x-ipad-os.x-phone { font-size: 200%;}
However, not sure about the 'ipad' term in red. I know Sencha looks at the browser agent but how it determines which css tag? How should I do it?
Thanks
JD