M
M
Max Darkleviathan2021-08-30 10:06:40
Qt
Max Darkleviathan, 2021-08-30 10:06:40

How to position a window at the bottom of the screen in QT?

I write the following structure:

move(QGuiApplication::screens().at(0)->geometry().center() - frameGeometry().center());

The window is centered.
but if I specify bottom instead of center, it swears.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question