From d95c2aaaa79c9ec173419742d77793c7bab5cd44 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 16 Jul 2013 17:55:18 +0200 Subject: [PATCH] increase spacing between meter ticks and labels --- gtk2_ardour/meter_patterns.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/meter_patterns.cc b/gtk2_ardour/meter_patterns.cc index 80655af7b9..7818711922 100644 --- a/gtk2_ardour/meter_patterns.cc +++ b/gtk2_ardour/meter_patterns.cc @@ -364,11 +364,11 @@ meter_render_metrics (Gtk::Widget& w, vector types) snprintf (buf, sizeof (buf), "%+2d", j->first); pos = height - (gint) floor (height * fraction); if (tickleft) { - cairo_move_to(cr, width-2.5, pos + .5); + cairo_move_to(cr, width-1.5, pos + .5); cairo_line_to(cr, width, pos + .5); } else { cairo_move_to(cr, 0, pos + .5); - cairo_line_to(cr, 2.5, pos + .5); + cairo_line_to(cr, 1.5, pos + .5); } cairo_stroke (cr); break; @@ -398,7 +398,7 @@ meter_render_metrics (Gtk::Widget& w, vector types) p = min (p, height - th); p = max (p, 0); - cairo_move_to (cr, width-4-tw, p); + cairo_move_to (cr, width-3-tw, p); pango_cairo_show_layout (cr, layout->gobj()); } }