--- a/eric6/Graphics/PackageItem.py Sat Apr 10 17:54:58 2021 +0200 +++ b/eric6/Graphics/PackageItem.py Sat Apr 10 18:31:17 2021 +0200 @@ -130,7 +130,7 @@ height = self.header.boundingRect().height() if self.modules: width = max(width, self.modules.boundingRect().width()) - height = height + self.modules.boundingRect().height() + height += self.modules.boundingRect().height() latchW = width / 3.0 latchH = min(15.0, latchW) self.setSize(width + 2 * self.margin,