Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyqt5 window size

##### inside Qt class	
class Main(QWidget):
    def __init__(self, parent=None):
        super(Main, self).__init__(parent)
        
        width = 550
        height = 600

        self.setFixedWidth(width)
        self.setFixedHeight(height)
 
PREVIOUS NEXT
Tagged: #window #size
ADD COMMENT
Topic
Name
8+9 =