[hamster-applet] give more space to rows



commit b26fea965293111d3ca42c2674681b8567661e3c
Author: Toms Bauģis <toms baugis gmail com>
Date:   Thu Jan 21 01:43:25 2010 +0000

    give more space to rows

 hamster/widgets/facttree.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/hamster/widgets/facttree.py b/hamster/widgets/facttree.py
index 10e38a2..8def41a 100644
--- a/hamster/widgets/facttree.py
+++ b/hamster/widgets/facttree.py
@@ -500,7 +500,7 @@ class FactCellRenderer(gtk.GenericCellRenderer):
         tag_cell_start = cell_start + widget.longest_activity_category
         tag_cell_end = cell_start + cell_width
 
-        cell_height = label_h + 2
+        cell_height = label_h + 4
 
         cur_x, cur_y = tag_cell_start, 2
         if fact["tags"]:
@@ -514,7 +514,7 @@ class FactCellRenderer(gtk.GenericCellRenderer):
                     cur_y += tag_h + 4
                 cur_x += tag_w + 4
 
-            cell_height = max(cell_height, cur_y + tag_h + 3)
+            cell_height = max(cell_height, cur_y + tag_h + 4)
 
             labels["tags"] = (None, tag_cell_start, 2, tag_cell_end)
 
@@ -541,7 +541,7 @@ class FactCellRenderer(gtk.GenericCellRenderer):
 
             labels["description"] = (description, x, y, width * pango.SCALE)
 
-            cell_height += label_h + 2
+            cell_height += label_h + 4
 
         self.labels[fact["id"]] = labels
         return (0, 0, 0, cell_height)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]