Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Fit page to screen size
If I run the vaaddion dashboard (https://demo.vaadin.com/dashboard/) on my mobile phone (Black Berry) the login screen fills up the complete screen.
I also developed a login screen (similar to the dashboard), but it only shows the the components very small on the top of the screen. There is a bug not used space below. Is there a possibility to adapt the components (font size, component size, ...) to the screen resolution?
Thanks in advance!
Regards,
Thomas
If I understood correctly you need to set the meta tag viewport https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag. Take a look at an example here: https://github.com/vaadin/dashboard-demo/blob/7.7/src/main/java/com/vaadin/demo/dashboard/DashboardSessionInitListener.java