[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Apr 10 13:40:03 UTC 2004
CVS commit by okellogg:
Fix by Piotr Kolaczkowski:
getDiagramRect(): Add margin to the returned rectangle.
M +6 -0 umlview.cpp 1.130
--- kdesdk/umbrello/umbrello/umlview.cpp #1.129:1.130
@@ -1048,4 +1048,10 @@ QRect UMLView::getDiagramRect() {
}
+ // Margin:
+ startx -= 24;
+ starty -= 20;
+ endx += 24;
+ endy += 20;
+
return QRect(startx, starty, endx - startx, endy - starty);
}
More information about the umbrello-devel
mailing list