Graphics/PackageDiagram.py

branch
5_2_x
changeset 2029
51e8278f2c3d
parent 1847
ed220d11ee1e
child 2303
0ed4ed026c16
--- a/Graphics/PackageDiagram.py	Tue Sep 04 11:41:07 2012 +0200
+++ b/Graphics/PackageDiagram.py	Sat Sep 08 18:28:46 2012 +0200
@@ -224,9 +224,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