$OpenBSD: patch-src_libUnicorn_draglabel_cpp,v 1.2 2011/03/30 14:00:48 dcoppa Exp $
--- src/libUnicorn/draglabel.cpp.orig	Mon Mar 28 15:20:34 2011
+++ src/libUnicorn/draglabel.cpp	Mon Mar 28 15:20:36 2011
@@ -324,6 +324,10 @@ DragLabel::calcFontProperties( DragItem& d, bool isHea
     {
         rect.setHeight( fm.height() );
     }
+    if ( fm.width( d.m_text ) > rect.width() )
+    {
+        rect.setWidth( fm.width( d.m_text ) );
+    }
 
     // boundingRect sometimes returns negative values so make sure it's at 0, 0
     rect.moveTo( 0, 0 );
