[gitg/vala] Center the labels



commit 5c43a30a4072341ec3b08b40482b2d860289aecd
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jun 1 16:38:42 2012 +0200

    Center the labels

 libgitg-gtk/gitg-gtk-label-renderer.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg-gtk/gitg-gtk-label-renderer.vala b/libgitg-gtk/gitg-gtk-label-renderer.vala
index d13b245..15ebe7e 100644
--- a/libgitg-gtk/gitg-gtk-label-renderer.vala
+++ b/libgitg-gtk/gitg-gtk-label-renderer.vala
@@ -115,7 +115,7 @@ namespace GitgGtk
 
 			context.render_layout(cr,
 			                      x + padding,
-			                      y + (height - h) / 2.0 + 0.5,
+			                      y + (height - h) / 2.0,
 			                      layout);
 
 			context.restore();



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