T
T
TemaKam2021-01-20 10:34:39
Qt Creator
TemaKam, 2021-01-20 10:34:39

How to add a "maximize window" button?

In Qt Designer, it is desirable that the button itself be available here:
ogSSkdT.jpg
What settings should be set, and so that when expanding, all elements on the form are also adjusted to the size?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2021-01-20
@SaNNy32

1. Set the window flag Qt::WindowMaximizeButtonHint
2. Use Layouts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question