(SLAC) When saving animation, adjust padding to maintain aspect ratio
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When you request to save an animation, the save animation dialog box defaults to a resolution different from the actual view size, which is what the user would expect. Instead, there is a 16 pixel buffer removed from the horizontal and vertical directions. Generally, that is not a big issue as there is no direct way to set the view size anyway.
Where this can become most noticeable is when it changes the aspect ratio of the screen, which in turn causes the view to appear to zoom in or out for the saved files. The aspect ratio can change if it starts out at a very high ratio. If, for example, the image is much wider than it is high, then subtracting 16 pixels from the width will have a much smaller effect than subtracting it from the height.
Rather than subtract a constant 16 pixels from the width and height, it should subtract 16 from the smaller of the two and adjust the amount from the other to maintain a constant aspect ratio.