#
#
# .2022-02-12 19:36:12
User interface
# ., 2022-02-12 19:36:12

Why doesn't scaling work in QT Designer?

I ran into problems that when you resize a window, the widgets do not change with it, but remain in place. Googled and added widgets to Layout. Nothing has changed, why is that? Maybe something needs to be added?
6207e19bdc857226565739.png
6207e1f3e264a741395334.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RandomProgrammer, 2022-02-13
@andro1

Look in the object inspector for "centralwidget". This is the window's root layout and should be laid out. The layout you've laid out scales the widgets internally, but doesn't scale itself. Centralwidget is always deployed to the entire window.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question