eric62
(eric dumond)
August 19, 2013, 3:24pm
1
Dear Vaaders,
I would like to get the height and width of the remote browser (which can be resized by the user) with Vaadin 7.
The way to get the size of the screen is :
int remoteScreenSize = getPage().getWebBrowser().getScreenHeight();
But what for the browser ?
eric62
(eric dumond)
August 20, 2013, 2:45pm
2
There is no answer.
Does it mean Vaadin 7.1 cannot provide the height and width of the browser ?
Eric
Marius14
(Marius Reinwald)
August 20, 2013, 2:55pm
3
You seem to be new here. Don’t always expect answers in the first 24 hours.
Page.getCurrent().getBrowserWindowHeight();
Page.getCurrent().getBrowserWindowWidth();
Page class
eric62
(eric dumond)
August 20, 2013, 3:53pm
4
Many thanks Marius, your code works fine
Eric