Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to disable resize icon?
TomNow99 last edited by TomNow99
I use Win 10 Pro. I set in my mainWindow size like that:
I can't resize window, but when I move mouse's cursor to right bottom corner I see resize Icon. How can I disable it?
Do you `mean how you prevent the OS to show a resize cursor?
Or do you mean this
Then you can remove with
(all of status bar though...)
also you should use
That disables the cursor changing. on the borders.
Bonnie last edited by
In addition to what @mrjj has said, if you want to remove the triangle but keep the status bar, you can just uncheck the "sizeGripEnabled" property of statusBar.
TomNow99 last edited by
I don't know that I can add picture here, so if you want to know how that arrow looks like, you can go to google.com, search "arrow resize windows", go to images and that arrow is on the second place ( but my resize icon is white, not black ).
So @mrjj I think about "how you prevent the OS to show a resize cursor on my qt App".
Bonnie last edited by Bonnie
But in my Win 10, if I set both minimum and maximum size of the main window to (300,300), then without the status bar / size grip, there won't be resize arrow/cursor on any corner.
Actually , windows os resize arrow should show on every corner, if you only see it on the bottom right corner, it is probably due to the size grip...