Community
Participate
Working Groups
Build ID: I20080523-0100 Steps To Reproduce: 1. on a gmf diagram, use Zoom To Fit More information: Zoom to fit, or any other function that wants to zoom to arbitrary new bounds has to use separate setZoom() and setLocation() calls, and it causes unnatural animation. Instead of a direct straight-line shift, objects appear to follow an arc with a bend in it as the animation hands off from scaling to translation.
after taking a closer look, maybe a better signature for the required function would be Viewport.setBounds(Rectangle bounds), which sets all the parameters and then sets off a single property changed event, instead of one every time a single position or extent of its independant x & y RangeModels changes.