Graphics/UMLClassDiagram.py

branch
5_2_x
changeset 2029
51e8278f2c3d
parent 1847
ed220d11ee1e
child 2093
060d051757a2
--- a/Graphics/UMLClassDiagram.py	Tue Sep 04 11:41:07 2012 +0200
+++ b/Graphics/UMLClassDiagram.py	Sat Sep 08 18:28:46 2012 +0200
@@ -174,9 +174,10 @@
         
         # add in some whitespace
         width = width * whiteSpaceFactor
-        rawHeight = height
+##        rawHeight = height
         height = height * whiteSpaceFactor - 20
-        verticalWhiteSpace = (height - rawHeight) / (len(generations) - 1.0 or 2.0)
+##        verticalWhiteSpace = (height - rawHeight) / (len(generations) - 1.0 or 2.0)
+        verticalWhiteSpace = 40
         
         sceneRect = self.umlView.sceneRect()
         width += 50.0

eric ide

mercurial