An app's icon is scaled to a square by the IconFactory. It should preserve the original's aspect ration.
Logged In: YES
org.nanode.app.openjnlp.desktop.IconFactory has been refactored, making it a much nicer factory.
When an image needs scaling a scaling factor is computed based on the larger of the height and width. The image is then scaled using this scalar, preserving the aspect ration of the original image.
Log in to post a comment.