Aspect ratio of basic.Image

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Aspect ratio of basic.Image

Markus Donhauser



is there a way to keep the aspect ratio of a loaded image if I setScale(true) and provide a width only by calling setWidth() and setHeight(null)?

If I use setHeight(null), the image will be stretched to its full size.







qooxdoo-devel mailing list
[hidden email]