# HG changeset patch
# User Sune Foldager <[email protected]>
# Date 1252659285 -7200
# Node ID 64320ec25561226e38a91b2fd07c34e7d6bd92c8
# Parent f5f16a958a821f759cf3a7bba3571654fd7d3626
graph: fix box size to make nodes and links prettier
This restores the old look from before the size was reduced from
+6 to 0 (in e9332679a02c). Now it's at +1 which apparently doesn't
affect the line spacing at all, but still fixes the nodes and links.
diff --git a/hggtk/logview/graphcell.py b/hggtk/logview/graphcell.py
--- a/hggtk/logview/graphcell.py
+++ b/hggtk/logview/graphcell.py
@@ -76,7 +76,7 @@
ascent = pango.PIXELS(metrics.get_ascent())
descent = pango.PIXELS(metrics.get_descent())
- self._box_size = ascent + descent
+ self._box_size = ascent + descent + 1
return self._box_size
def set_colour(self, ctx, colour, bg, fg):
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop