eric6/Graphics/ClassItem.py

changeset 8217
385f60c94548
parent 8143
2c730d5fd177
child 8218
7c09585bd960
--- a/eric6/Graphics/ClassItem.py	Sat Apr 10 17:54:58 2021 +0200
+++ b/eric6/Graphics/ClassItem.py	Sat Apr 10 18:31:17 2021 +0200
@@ -167,7 +167,7 @@
             height = height + self.attrs.boundingRect().height() + self.margin
         if self.meths:
             width = max(width, self.meths.boundingRect().width())
-            height = height + self.meths.boundingRect().height()
+            height += self.meths.boundingRect().height()
         self.setSize(width + 2 * self.margin, height + 2 * self.margin)
         
     def setModel(self, model):

eric ide

mercurial