fix clock sizing so that it is always large enough

This commit is contained in:
Paul Davis 2015-09-24 10:15:26 -04:00
parent c1a12a7efd
commit 90e1e37c31

View file

@ -493,13 +493,9 @@ AudioClock::set_clock_dimensions (Gtk::Requisition& req)
tmp->set_font_description (font);
/* this string is the longest thing we will ever display */
if (_mode == MinSec)
tmp->set_text (" 88:88:88,888 ");
else
tmp->set_text (" 88:88:88,88 ");
tmp->set_text (" 88:88:88,888 ");
tmp->get_pixel_size (req.width, req.height);
layout_height = req.height;
layout_width = req.width;