@McLion You can use layouts for those labels
Besides what @Rondog mentions, you could also read about layouts
If you assign a layout to the window, and put the tab in it, Qt can then
automatically adjust the size if user resize the window.
It takes a little bit to learn layouts but the reward is great.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.