Pyqt6 Docs — [upd]
Never use fixed positions. Layouts automatically resize and reposition widgets.
If you're looking for a paper or a PDF version of the documentation, you can try the following: pyqt6 docs
# PyQt5 label.setAlignment(Qt.AlignCenter) Never use fixed positions