diff options
author | waker <wakeroid@gmail.com> | 2011-02-22 22:46:35 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-02-22 22:46:35 +0100 |
commit | d141a62db46a3182d903938085c1b125bb67e385 (patch) | |
tree | 8ad6f6957dce59d4fa25994ffa48687f1626601e /plugins/gtkui/plcommon.c | |
parent | 1d1a3115ac6d3d2ab1cd900961b57d96ee8bfaa2 (diff) |
better playlist rowheight calculation
Diffstat (limited to 'plugins/gtkui/plcommon.c')
-rw-r--r-- | plugins/gtkui/plcommon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c index ec36df89..279777c3 100644 --- a/plugins/gtkui/plcommon.c +++ b/plugins/gtkui/plcommon.c @@ -181,10 +181,10 @@ void draw_column_data (DdbListview *listview, GdkDrawable *drawable, DdbListview draw_init_font_bold (); } if (calign_right) { - draw_text (x+5, y + height/2 - draw_get_font_size ()/2 - 2, cwidth-10, 1, text); + draw_text (x+5, y + (height-1)/2 - draw_get_font_size ()/2, cwidth-10, 1, text); } else { - draw_text (x + 5, y + height/2 - draw_get_font_size ()/2 - 2, cwidth-10, 0, text); + draw_text (x + 5, y + (height-1)/2 - draw_get_font_size ()/2, cwidth-10, 0, text); } if (gtkui_embolden_current_track && it && it == playing_track) { draw_init_font_normal (); |