[Uml-devel] [Bug 296331] state diagram deep/shallow history widget resizing problem

Oliver Kellogg okellogg at users.sourceforge.net
Wed Mar 21 19:19:27 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=296331

--- Comment #7 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
SVN commit 1286610 by okellogg:

Address https://bugs.kde.org/show_bug.cgi?id=296331#c5 as follows:

StateWidget::paint (case {Deep,Shallow}History):
- Consider font metrics in calculation of drawText() x and y args.

StateWidget::minimumSize (case {Deep,Shallow}History):
- Set width and height to active QFontMetrics::lineSpacing().

StateWidget::maximumSize (case {Deep,Shallow}History):
- Allow for enlarging to active QFontMetrics::lineSpacing() + 10.



 M  +29 -7     statewidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1286610

-- 
You are receiving this mail because:
You are the assignee for the bug.




More information about the umbrello-devel mailing list