[Uml-devel] branches/work/soc-umbrello/umbrello

Gopala Krishna A krishna.ggk at gmail.com
Sat Aug 30 13:06:58 UTC 2008


SVN commit 854856 by gopala:

Remove explicit margin handling code as TextItemGroup handles it
already.



 M  +1 -2      activitywidget.cpp  


--- branches/work/soc-umbrello/umbrello/activitywidget.cpp #854855:854856
@@ -220,8 +220,7 @@
 {
 	if(change == SizeHasChanged) {
 		TextItemGroup *grp = textItemGroupAt(ActivityWidget::TextGroupIndex);
-		qreal m = margin();
-		grp->setGroupGeometry(rect().adjusted(+m, +m, -m, -m));
+		grp->setGroupGeometry(rect());
 
         foreach(QGraphicsItem *child, childItems()) {
             PinWidget *pin = dynamic_cast<PinWidget*>(child);




More information about the umbrello-devel mailing list