I am adding sizegrip(QSizegrip) to verticall bar on bottom-right side it is resizing both horizontally and vertically actually it should allow only vertically , how to do this? Any other solutions are welcome.
image for details
I am adding sizegrip(QSizegrip) to verticall bar on bottom-right side it is resizing both horizontally and vertically actually it should allow only vertically , how to do this? Any other solutions are welcome.
image for details
You could override the event method (or https://doc.qt.io/Qt-5/qwidget.html#mouseMoveEvent), check for a MouseMove event and accordingly limit the maximum horizontal size of the dialog.
On Object which one you want to restrict apply these flags based on requirement