From de0eb85afa36b5c5234b4723e0990ef39d0bab20 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 25 Mar 2009 03:11:25 -0400 Subject: Add the height --- sigtools/ClassModel.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'sigtools/ClassModel.cpp') diff --git a/sigtools/ClassModel.cpp b/sigtools/ClassModel.cpp index 3dfb851b..4e814216 100644 --- a/sigtools/ClassModel.cpp +++ b/sigtools/ClassModel.cpp @@ -93,6 +93,7 @@ void ClassModel::redraw(const int width) const painter.drawText(QRect(QPoint(w, h), QSize(maxWidth - w, nameSize.height())), Qt::AlignBottom | Qt::AlignLeft, m_name); w = borderWidth; + h += nameSize.height(); h += vertSpacing; painter.setFont(smallFont); -- cgit