[Uml-devel] [Bug 112991] classifier widget in class diagram width is to large
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Sep 21 10:41:18 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=112991
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2005-09-21 19:39 -------
SVN commit 462672 by okellogg:
calculateSize(): The font for displaying non-abstract operations is FT_NORMAL.
Thanks to Peter Soetens <peter.soetens_AT_mech.kuleuven.be> for the fix.
BUG:112991
M +1 -1 classifierwidget.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/classifierwidget.cpp #462671:462672
@ -375,7 +375,7 @
continue;
const QString displayedOp = op->toString(m_ShowOpSigs);
UMLWidget::FontType oft;
- oft = (op->getAbstract() ? UMLWidget::FT_ITALIC : UMLWidget::FT_BOLD);
+ oft = (op->getAbstract() ? UMLWidget::FT_ITALIC : UMLWidget::FT_NORMAL);
const int w = UMLWidget::getFontMetrics(oft).size(0,displayedOp).width();
if (w > width)
width = w;
More information about the umbrello-devel
mailing list