[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Apr 19 13:33:03 UTC 2004


CVS commit by okellogg: 

calculateSize: Add call to adjustUnselectedAssocs.
The new Show Public Only feature reveals that it is required.


  M +2 -1      classwidget.cpp   1.25


--- kdesdk/umbrello/umbrello/classwidget.cpp  #1.24:1.25
@@ -278,4 +278,5 @@ void ClassWidget::calculateSize() {
                         height += fontHeight / 2;//no ops, so just add a but of space
         }
+        //kdDebug() << "ClassWidget::calculateSize: numAtts=" << numAtts << ", numOps=" << numOps << endl;
         height += lines * fontHeight;
         //now set the width of the concept
@@ -348,5 +349,5 @@ void ClassWidget::calculateSize() {
 
         setSize(width, height);
-//      adjustAssocs( getX(), getY() );//adjust assoc lines. Doesnt appear to be needed. -b.t.
+        adjustUnselectedAssocs( getX(), getY() );
 }
 ////////////////////////////////////////////////////////////////////////////////////////////////////






More information about the umbrello-devel mailing list