Pyqt5 method of forbidding window maximization and window stretching


As follows:

Add in def init (self): function

self.setFixedSize(self.width(), self.height())

The above pyqt5 method to disable window maximization and window stretching is all the content shared by Xiaobian. I hope it can give you a reference and support developepaer.

Recommended Today

Oracle (PLSQL) introduction 1

Oracle installation, user authorization, table operation, data type, DDL table, DML data. Next: Oracle introduction 2 Learning video: Baidu cloud installation package is attached to the installation tutorial: 40774525/article/details/79919057 Oracle Baidu cloud installation package: Extraction code: 5abz After the Oracle service above is installed, open the client of SQL developer and the […]