Commit a2f1778f authored by hejulian's avatar hejulian

resize

parent e66d67fe
......@@ -9,8 +9,8 @@ class Canvas(QtWidgets.QLabel):
def __init__(self):
super().__init__()
self.width = 300
self.height = 300
self.width = 200
self.height = 200
pixmap = QtGui.QPixmap(self.width, self.height)
# pixmap = pixmap.scaled(self.width*5, self.height*5)
self.setPixmap(pixmap)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment