Version: (using KDE 4.0.3) Installed from: Ubuntu Packages Compiler: gcc OS: Linux Making an "implements" association between two classes previosly resized causes clases resize to their minimum size How to reproduce : - create a class diagram - create two classes and resize their boxes - create an "implements" association between the classes classes boxes will be resized to their minimum sizes.
A similar behaviour is observed on establishing any relationship between any two widgets. It is also observed when adding (say) and attribute to a class. Probably the aim was to auto resize for best fit ? Am not sure if this is a bug or an intended feature ? Comments welcome.
> Probably the aim was to auto resize for best fit ? The problem was that Umbrello always forced minimum sizes and did not allow for enlarging the class boxes. For example, when dragging classes from the list view to the diagram after code import, it could be annoying that the class boxes all have different sizes. (Especially bothersome when display of attributes and operations is turned off.) Allowing for manual resize was just the first step - later, I wanted to add support for automatic size adjustment strategies but I never got around to that.
*** Bug 183299 has been marked as a duplicate of this bug. ***
There should be something like 1. a toggable entry in the diagram context menu (and the diagram menu) which enables/disables autoresizing of widgets. 2. an entry in the diagram context menu for one time auto resizing of all widgets, when the toggable autoresize option mentioned in topic 1. is disabled 3.an entry in the widgets context menu for one time auto resizing when the toggable autoresize option mentioned in topic 1. is disabled 4. a short cut for fast performing topic 2. and 3. Implementation notes: 1 change UMLWidget::updateComponentSize() and the related function in derived classes according to the selected mode. 2. add entries to the diagram menu, widget and diagram context menu 3. add event handlers for topic 2
SVN commit 1324139 by habacker: Added widget resize context menu feature. Related: bug 309612 M +1 -0 listpopupmenu.cpp M +1 -0 listpopupmenu.h M +12 -0 widgets/umlwidget.cpp M +1 -0 widgets/umlwidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1324139
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.