<Swing Dev> [11] RFR: JDK-8206238: Aspect ratio is not maintained when image is scaled in JEditorPane
Krishna Addepalli
krishna.addepalli at oracle.com
Tue Jul 10 09:45:24 UTC 2018
Hi All,
Please review a fix for the bug JDK-8206238: https://bugs.openjdk.java.net/browse/JDK-8206238
Webrev: http://cr.openjdk.java.net/~kaddepalli/8206238/webrev00/
The problem is that, when any one of the attributes for the image (height/width), are specified, it should copy the value to the other attribute. Currently, it only updates the respective attribute, and fills the other attribute with the size of the image.
Fixed this problem in the proposed patch.
Thanks,
Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180710/385f7375/attachment.html>
More information about the swing-dev
mailing list