开发者

GWT "viewport" scrolling for mobile screen

开发者 https://www.devze.com 2023-03-27 21:59 出处:网络
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:

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

精彩评论

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

关注公众号