Author: bobtarling
Date: 2011-05-03 07:47:07-0700
New Revision: 19322
Modified:
trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/FigCompartment.java
Log:
Don't restrict bounds in setBounds
Modified: trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/FigCompartment.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/FigCompartment.java?view=diff&pathrev=19322&r1=19321&r2=19322
==============================================================================
--- trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/FigCompartment.java (original)
+++ trunk/src/argouml-core-diagrams-activity2/src/org/argouml/activity2/diagram/FigCompartment.java 2011-05-03 07:47:07-0700
@@ -113,13 +113,6 @@
@Override
protected void setBoundsImpl(int x, int y, int w, int h) {
- Rectangle oldBounds = getBounds();
-
- Dimension minimumSize = getMinimumSize();
-
- w = Math.max(w, minimumSize.width);
- h = Math.max(h, minimumSize.height);
-
super.setBoundsImpl(x, y, w, h);
w -= getLeftMargin() + getRightMargin();
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2729147
To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.