[Pharo-project] Polymorph layout: images in a column

Gary Chambers gazzaguru2 at btinternet.com
Wed Mar 21 12:07:17 EDT 2012


Something like the following?

(UITheme builder
 newColumn: {
  (UITheme builder newImage: LogoImageMorph defaultLogoForm)
   hResizing: #spaceFill;
   vResizing: #spaceFill;
   layout: #scaledAspect})
 openInWindow

Regards, Gary

  ----- Original Message ----- 
  From: Schwab,Wilhelm K 
  To: pharo-project at lists.gforge.inria.fr 
  Sent: Monday, March 19, 2012 8:36 PM
  Subject: [Pharo-project] Polymorph layout: images in a column


  Gary,

  If I create a column and place an alpha image in it, is there a way to get the image to scale, ideally to the width of the column?  As it is, I'm setting fixed extents, but somewhat works against what I would like to leave to the column?



  Bill




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120321/e9e4c574/attachment-0001.html>


More information about the Pharo-dev mailing list