E5Graphics/E5GraphicsView.py

changeset 3035
36e9f388958b
parent 3022
57179e4cdadd
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r 7ce719013078 -r 36e9f388958b E5Graphics/E5GraphicsView.py
--- a/E5Graphics/E5GraphicsView.py	Sat Oct 19 13:03:39 2013 +0200
+++ b/E5Graphics/E5GraphicsView.py	Sat Oct 19 14:05:26 2013 +0200
@@ -320,10 +320,10 @@
         
         width = printer.width() - marginX \
             - Preferences.getPrinter("RightMargin") * int(
-            printer.resolution() / 2.54)
+                printer.resolution() / 2.54)
         height = printer.height() - fontHeight - 4 - marginY \
             - Preferences.getPrinter("BottomMargin") * int(
-            printer.resolution() / 2.54)
+                printer.resolution() / 2.54)
         
         border = self.border == 0 and 5 or self.border
         rect = self._getDiagramRect(border)

eric ide

mercurial