[kepler-dev] [Bug 3988] - Rectangle shifts position on resize

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Sat Apr 25 16:27:45 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3988


cxh at eecs.berkeley.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Comment #2 from cxh at eecs.berkeley.edu  2009-04-25 16:27 -------
I might have this one fixed, Edward may have some comments.

It turns out that RectangleAttribute and ResizablePolygonAttribute had
the same bug: creating one of them and then resizing would cause the figure
to jump up and to the left.  With ResizablePolygonAttribute, this was
especially obvious.  However, EllipseAttribute did not have the problem.
EllipseAttribute was setting the centered Parameter to true.  When I 
made this change to RectangleAttribute and ResizablePolygonAttribute, the
problem went away.

I looked at a few demos and icons, and this change did not appear to cause
problems.  I'm not sure why.

I'm leaving this open pending review to see if the change causes problems.


More information about the Kepler-dev mailing list