Could you give more details of the problem? As I have understood, the following can help.
If to set width and height of UI components in percents, they can change their size dynamically, following the browser window.
For example, in my project I have the following entity browse screen:
The layout has expand=“vbox” property. It means, vbox takes all the free space left after location of the filter component.
Dimensions of ganntchart and tasksTable components are given in percents. That screen looks similar not considering the screen resolution and size of the browser window.
For more information about CUBA UI see the documentation: https://doc.cuba-platform.com/manual-6.2/gui_framework.html