GNOME Bugzilla – Bug 86238
width line in UML objects
Last modified: 2014-05-11 09:57:25 UTC
The width line in UML objects cannot be modified.
*** Bug 86239 has been marked as a duplicate of this bug. ***
Setting priority to low and severity to enhancement. I'm not even sure if it would be an enhancement to make the line width user selectable but anyway ...
I put this bug because the selectable width line is a enhancement for all dia predefined objects except for UML objects. I think it should be considered as a bug.
To abound towards Santiago's direction, we added sometime after 0.88.1 the ability to change fonts in UML objects. It would make sense to enable the user to change line widths (and why not, colours)
> enable the user to change line widths (and why not, colours) foreground and background colours already seem to work for almost all objects UML in Dia 0.94 (the only exception being the UML Activity object and I filed bug 169107 for it). Looking at this got me wondering why the Line width property is not also shown when you double click on any of the line tools (in addition to or instead of having it in the toolbox). Perhaps I'll file a seperate enhancement report for that later.
Because it would be confusing. Is it the same property or distinct?
This bug has aged a bit, however I believe that this is an important enhancement. Thinner lines makes for cleaner diagrams and the UML line widths are too wide. They make the output look ugly. I would be happy to help with the fix if someone could direct me to the appropriate bit of code. Also, I would like to change the default fonts used by the UML objects, as I feel that the current defaults are too large. I will file a separate enhancement request for this. A possible implementation of the fix would be to have Dia remember the line width and font preferences for the last object and to apply them to future objects automatically, with an option to set the preferences back to defaults if desired.
The UML properties are defined in object/UML/class.c, line width can be added there like it is done in any other object. It should replace uses of UMLCLASS_BORDER in class.c and be properly loaded, saved and copied in class.c. Moreover, in class_dialog.c, a new widget for setting it should be added, and reading from that/filling it in should be added, too.
part of this is available by: 2008-10-12 Hans Breuer <hans@breuer.org> * objects/UML/actor.c objects/UML/class.[ch] objects/UML/class_dialog.c objects/UML/large_package.c objects/UML/note.c objects/UML/object.c objects/UML/small_package.c objects/UML/usecase.c : configurable line-width for UML elements, patch from Pablo Gra\~na
Should be completed by: http://git.gnome.org/browse/dia/commit/?id=9ac7c0aa4b2c1edc001fb5f9e2e0ce1803bae103
*** Bug 728590 has been marked as a duplicate of this bug. ***