From dc520de9158d1068203b3ef6c6f99412cf6eb20e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 12 Nov 2012 17:54:52 +0000 Subject: [PATCH] really fix vertical alignment of info text (again :) ) git-svn-id: svn://localhost/ardour2/branches/3.0@13461 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_clock.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index 44bc5422d8..b0ebda0e17 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -192,7 +192,9 @@ AudioClock::set_font () tmp->set_text ("8"); tmp->get_pixel_size (em_width, ignore_height); - set (last_when, true); /* force redraw of markup with new font-size */ + + /* force redraw of markup with new font-size */ + set (last_when, true); } void @@ -2092,7 +2094,6 @@ AudioClock::set_mode (Mode m) int ignored; _left_layout->set_text (" 1234567890"); _left_layout->get_pixel_size (ignored, info_height); - info_height += 4; _left_layout->set_text (""); _right_layout->set_text ("");