MozillaZine

Real-Time Mouse Resizing of Images and Tables in Composer

Wednesday March 26th, 2003

Daniel Glazman writes: "Thanks to the fix for bug 47066, recent Mozilla nightly builds now allow resizing of images and tables with the mouse in Composer and HTML mail composition. All embeddors of the HTML editor can also enable or disable this feature. If an image is selected or if the caret is placed inside a table, eight resizing handles appear and allow to resize the image/table with a simple click/drag/release. In the case of an image, the resizing is done real-time and a semi-opaque shadow of the image at its target size is shown during resizing. A tooltip shows in real-time the target size in pixels, and the relative change in pixels too."

Even if you never use Composer or HTML mail composition, you'll want to try this out at least once because it looks really cool.


#6 Re: Re: Maintain Aspect Ratio

by GAThrawn

Wednesday March 26th, 2003 1:32 PM

You are replying to this message

Yup just read the bug (doh, should have done that before asking) and I saw that the original XBL version did keep aspect ratio using the corners, so guessing that the C rewrite would have had that too.

Personally I think the keep aspect ratio with corners/stretch on sides actually sounds fairly intuitive, although it might be nice to be able to change this on an image-by-image basis, I believe many (paper) publishing tools allow you to do this.