This program shows how to use grid layout for organizing content of a UI. Run this program and then try stretching the size of the UI. Is the position of the contents of the UI acceptable to you?
Some programmers like grid layout and other dislike it. It is up to you to decide what to use in your own programs.