We know that we can resize the window of PyQt5 application, but while shrinking the window size we can set minimum size so that it can’t be shrank any more. In this article, we will see how to do this.
In order to do this we will use
Syntax : self.setMinimumSize(width, height)
Argument : It takes two integer as argument.
Action performed : It sets the minimum size of window.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.