Hi,

I’ve troubles displaying and rescaling an image.
I want to add an image to a container (container.Composite with layout.Dock) 
and set the size to given values. So far so good, but the image is simply 
clipped and not scaled, even if the scale is set to true.

      var image = new qx.ui.basic.Image("resource/koralle.jpg");
      image.setScale(true);
      image.setWidth(50);
      image.setHeight(50);
      container.add( image, {edge: 'center'});


In Firefox (2.0.0.16) the image is clipped anyway. IE7 sets the size of the 
container but doesn’t display any image, neither clipped nor scaled. I’m 
working with local files, maybe that’s the problem with IE7.

by(e)
Stephan



-- 
PGP Fingerprint: 0090 E02F 39A8 F2AF 6A79 43D7 B847 C26D 108E E2F0
PGP PublicKey: http://www.unet.univie.ac.at/~a9526342/sveigl.asc

Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to