| Summary: | Sequence diagram objects are resized without possibilitity to change them. | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Jonas Nordin <jonas.nordin> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Original object
The same object as an actor After the object is changed back from an actor again |
||
|
Description
Jonas Nordin
2006-11-05 08:22:24 UTC
Created attachment 18409 [details]
Original object
Created attachment 18410 [details]
The same object as an actor
Created attachment 18411 [details]
After the object is changed back from an actor again
Even though there is a resize button in the lower right corner, the size can
only be changed horizontally.
SVN commit 655572 by okellogg:
updateComponentSize(): Let wt_Object proceed to setSize().
BUG:136869
M +1 -0 ChangeLog
M +2 -1 umbrello/umlwidget.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #655571:655572
@@ -13,6 +13,7 @@
* Crash on adding operation to class with Advanced Code Generators enabled (131528)
* Javascript wrong Code Generation (135527)
* Javascript Code Generation creates bad format methods (135540)
+* Sequence diagram object size incorrect after toggling "Draw as Actor" (136869)
* Incorrect Association Properties text (139872)
* Buttons are not displayed (139913)
* Java 5 generics support (140669)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlwidget.cpp #655571:655572
@@ -824,7 +824,8 @@
const QSize minSize = calculateSize();
const int w = minSize.width();
const int h = minSize.height();
- if (m_Type != Uml::wt_ForkJoin && getWidth() >= w && getHeight() >= h)
+ if (m_Type != Uml::wt_ForkJoin && m_Type != Uml::wt_Object &&
+ getWidth() >= w && getHeight() >= h)
return;
setSize(w, h);
adjustAssocs( getX(), getY() ); // adjust assoc lines
|