Sounds like you need to use “anchors”. In the designer template for your widget, the right hand side should have an option for anchoring your widgets on the screen. Click on your button for example and look at the right side panel, you should find an option to “anchor” this keeps it at the same relative position no matter the screen size