[Uml-devel] KDE/kdesdk/umbrello/umbrello/widgets
    Ralf Habacker 
    ralf.habacker at gmail.com
       
    Wed Dec 14 14:59:21 UTC 2011
    
    
  
SVN commit 1268739 by habacker:
fixed bug displaying too small class widgets in sequencediagrams
 M  +1 -0      classifierwidget.cpp  
 M  +7 -0      objectwidget.cpp  
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/classifierwidget.cpp #1268738:1268739
@@ -76,6 +76,7 @@
 
     /*
        force calculation of the widget size to avoid too small widgets
+       -> merge with related part in ClassifierWidget
        Q: could this not be handled in UMLWidget for all widgets ?
     */
     QSize size = calculateSize();
--- trunk/KDE/kdesdk/umbrello/umbrello/widgets/objectwidget.cpp #1268738:1268739
@@ -64,6 +64,13 @@
     } else {
         m_pLine = NULL;
     }
+    /*
+       force calculation of the widget size to avoid too small widgets
+       -> merge with related part in ClassifierWidget
+       Q: could this not be handled in UMLWidget for all widgets ?
+    */
+    QSize size = calculateSize();
+    setSize(size.width(), size.height());
 }
 
 ObjectWidget::~ObjectWidget()
    
    
More information about the umbrello-devel
mailing list