|
|
@ -1660,7 +1660,7 @@ class FlowLayout(qt.QLayout):
|
|
|
|
|
|
|
|
|
|
|
|
def heightForWidth(self, width):
|
|
|
|
def heightForWidth(self, width):
|
|
|
|
height = self.doLayout(qt.QRect(0, 0, width, 0), True)
|
|
|
|
height = self.doLayout(qt.QRect(0, 0, width, 0), True)
|
|
|
|
return height
|
|
|
|
return int(height)
|
|
|
|
|
|
|
|
|
|
|
|
def setGeometry(self, rect):
|
|
|
|
def setGeometry(self, rect):
|
|
|
|
super().setGeometry(rect)
|
|
|
|
super().setGeometry(rect)
|
|
|
|