From 52099c2193bd7ecd539b60ee60fe646404815e8c Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 13 Jan 2010 01:07:08 -0600 Subject: [PATCH] Mixer: Clip module labels. --- Mixer/Module.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Mixer/Module.C b/Mixer/Module.C index c79a67a..9a69875 100644 --- a/Mixer/Module.C +++ b/Mixer/Module.C @@ -293,8 +293,7 @@ Module::draw_label ( void ) else fl_font( FL_HELVETICA, 14 ); - fl_draw( s ? s : lp, tx, ty, tw, th, (Fl_Align)(FL_ALIGN_CENTER | FL_ALIGN_INSIDE) ); - + fl_draw( s ? s : lp, tx, ty, tw, th, (Fl_Align)(FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_CLIP ) ); if ( s ) delete[] s;