Window Flags For Resizing
-
I have a very simple question that I can't figure out: How do you get a application window to resize?
The only overriding I do is when I set my window flags:
setWindowFlags(Qt::Window | Qt::FramelessWindowHint);
I have made a framless QT5 application, creating my own window bar and buttons, but can get the window to resize when dragging the edges.
-
@AlexanderAlexander said in Window Flags For Resizing:
Qt::FramelessWindowHint
In this case, I think, you will have to implement resizing by yourself. See documentation (https://doc.qt.io/qt-5/qt.html#WindowType-enum) for Qt::FramelessWindowHint:
"Produces a borderless window. The user cannot move or resize a borderless window via the window system. On X11, the result of the flag is dependent on the window manager and its ability to understand Motif and/or NETWM hints. Most existing modern window managers can handle this." -
@jsulm, that's unfortunate but thanks for the answer.