Version: 1.2-alpha (using KDE 3.1.0) Installed from: SuSE Compiler: gcc version 2.95.3 20010315 (SuSE) OS: Linux (i686) release 2.4.18-4GB -create a class diagram and add a class. -right click on it -> New -> Operation result: the operation gets created and displayed on the diagram, but the widget does not resize so that the newly created operation is partly outside the class widget. If you add the operation via the "properties" dialog, the widget is resized just fine.
Subject: Re: [Uml-devel] New: widgets dont resize when adding operation via context menu lparrab@gmx.net <lparrab@gmx.net> [031003 00:47]: > -create a class diagram and add a class. > -right click on it -> New -> Operation > > result: the operation gets created and displayed on the diagram, but the > widget does not resize so that the newly created operation is partly > outside the class widget. > > If you add the operation via the "properties" dialog, the widget is resized just fine. I like to add that the whole thing is the same for the TreeView. If you add there an operation by context menu, you have to click at the class again, to see the new operation. But the class widget isn't resized as well and the diagram is messed up. I know a fix how to ensure correct resizing if the operation was added with context menu in the UMLView, but not from the tree view. Of course we may fix this by calculating the size every time before we draw the widget, but this may a little be sub-optimal. A better solution would be, to connect the signal modified of UMLClass/UMLClassifier to some slot of the UMLClassWidget/UMLWidget. This should allready be done, but it doesn't work. So I ask how to connect UMLClassWidget and the belonging non-graphical UMLClass object! Steinchen
I can't reproduce this with current CVS.