Aspect ratio of basic.Image

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

Aspect ratio of basic.Image

Markus Donhauser

Hello,

 

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.

 

Markus

 

 

 


------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Loading...