Hello! One common approach is:
- define minimal screen size that you want for your game
- configure all widgets and stuff for it
- use DPI curve to define what kind of changes you want for widgets if screen size is changing
Here is good article: Creating Resolution-independent UIs in Unreal Engine 4 · ben🌱ui. Of course, for landscape orientation you will need to have separate configuration.