开发者

GWT "viewport" scrolling for mobile screen

I have a gwt application which is developed to be also used with mobile. I have this tag put in the html file of the gwt app to fit the app开发者_C百科 in mobile screen:

<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=no" />

However I need to allow the app to be scrolled vertically, as the app will output a list results. I have tried to wrap the main VerticalPanel with ScrollPanel however it still does not scroll vertically?

Any ideas?


Did you give a fixed size to your scroll panel? Otherwise it automatically grows to fit its content.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜