Getting the Browser Size in Vaadin 7


I know that there are methods thar are present in WebBrowser class in Vaadin 6 to fetch the web browser size. I want to limit components width to browser widh and disable horizontal scrolling. How can we achieve this in Vaadin 7 without the WebBrowser / WebApplicationContext / Application classes.


UI.getPage().getBrowserWindowHeight() is what you are looking for :slight_smile: