V
V
Vlad2021-12-15 09:51:39
Python
Vlad, 2021-12-15 09:51:39

How to make elements change depending on the size of the window in pyqt?

Tell me how to make the QLabel element, when the window is resized, automatically adjusted to its size in the proportions in which it was made in the constructor.
If you understand, tell me what and where to click, because I searched but did not find anything.
61b98fe739253601770835.png
61b990498845a634326923.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andy_U, 2021-12-15
@Andy_U

At the top of the "widget box" there are layouts and spacers ("springs"). Read about them. Maybe you have enough of them?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question