I have a QLabel L inside a QWidget W. L is vertically and horizontally aligned. When I resize W, L doesn't get centered.

Is this expected?

How do I make L centered again?

qt
Edit
Report