Bug 376075 - Assign size of an element changed when modifying or moving it
Summary: Assign size of an element changed when modifying or moving it
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.21.0 (KDE Applications 16.12.0)
Platform: Other All
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-05 18:34 UTC by Pascal Deville
Modified: 2017-02-13 10:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.21.80 (KDE Applications 17.03.80)
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Deville 2017-02-05 18:34:24 UTC
I changed the size of a class element on the class diagram but each time I modified or move it (on the diagram) its size is automatically change to the best fits. 

It would be nice to keep the size of the element assigned by the user
Comment 1 Ralf Habacker 2017-02-13 10:40:23 UTC
Git commit 04b4f29ca877c828587598aea135fceba0f4acdc by Ralf Habacker.
Committed on 13/02/2017 at 10:40.
Pushed by habacker into branch 'master'.

Implement 'Assign size of an element changed when modifying or moving it'.

The context menu now have an additional toggable entry named "auto resize"
which is enabled by default. By changing the widget size auto resizing is
disabled.
The auto resize option is written into xmi file and widgets "auto resize"
state is restored on load. Loading older xmi files (version < 1.6.11) will
always enable auto resize for loaded widgets.
FIXED-IN:2.21.80 (KDE Applications 17.03.80)

M  +4    -0    umbrello/listpopupmenu.cpp
M  +1    -0    umbrello/listpopupmenu.h
M  +8    -0    umbrello/umlwidgets/umlwidget.cpp
M  +23   -1    umbrello/umlwidgets/widgetbase.cpp
M  +4    -0    umbrello/umlwidgets/widgetbase.h
M  +2    -2    umbrello/version.h

https://commits.kde.org/umbrello/04b4f29ca877c828587598aea135fceba0f4acdc