TouchItem displayed too small

I try to display a ToucItem on IPHone3 or iphone4 and it always displays too small almost like it thinks it is a normal web page. Any idea why?

Hi,

You should use the included servlet instead of the default Vaadin servlet. It writes some viewport settings that insturcts the ios browsers that you have designed the web page for small screen device. If you start to use snapshot builds from svn, you can gain a full control via Java API to those settings.

cheers,
matti

I am using the following servet in my web.xml. Is this the correct one?

com.vaadin.touchkit.mobileapplication.MobileApplicationServlet

To get around the problem I end up amending “mobile-style.css” directly, but it is painful and I still have a long way to go to get all the controls looking right. But there must be a better way?