[Uml-devel] kdesdk/umbrello/umbrello

John Ratke jratke at comcast.net
Sat Oct 11 20:10:06 UTC 2003


CVS commit by jratke: 


Fix text with multiple new lines extending out of note widget.

CCMAIL: 57882-done at bugs.kde.org


  M +2 -0      notewidget.cpp   1.13


--- kdesdk/umbrello/umbrello/notewidget.cpp  #1.12:1.13
@@ -178,4 +178,6 @@ void NoteWidget::drawText(QPainter & p, 
                                 }//end if
                                 else
+                                        if ( textY > height )
+                                                return;
                                         p.drawText( offsetX + textX, offsetY + textY , textWidth, fontHeight, AlignLeft, word );
                         }//end if






More information about the umbrello-devel mailing list