How to auto zoom browser size to 80% on application load

Hi all,
Please does anyone have an idea of how to zoom in my browser size to 80% or lower on the Jmix application load? I am using classic screen Jmix 1.5.
I want to achieve this because my screen is too big, so I want it resized to a small screen size by default when the end user opens it to log in into the application.

Thanks in advance.

Hello!

If application has the Helium theme, you can use small size preset. For instance:

application.properties

jmix.ui.theme.default-size-to-use=small # will be applied for all screens and components

To change size of components only for one screen you can add small style name to the layout, e.g.

<window xmlns="http://jmix.io/schema/ui/window"
        caption="msg://demoScreen.caption">
    <layout stylename="small">
    </layout>
</window>