diff --git a/pym/consolegui/application/more.py b/pym/consolegui/application/more.py index c9904fd..8681ffe 100644 --- a/pym/consolegui/application/more.py +++ b/pym/consolegui/application/more.py @@ -1660,7 +1660,7 @@ class FlowLayout(qt.QLayout): def heightForWidth(self, width): height = self.doLayout(qt.QRect(0, 0, width, 0), True) - return height + return int(height) def setGeometry(self, rect): super().setGeometry(rect)