Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

1.1 & 1.2 Break imageView resizing

I am using the orientation to resize an imageView based on the dimensions of the screen, this worked in 1.0 however now it doesn't. any ideas on a workaround?

— asked March 25th 2010 by Christopher Reding
  • imageview
  • iphone
  • orientation
  • resizing
0 Comments

2 Answers

  • try to use the backgroundImage property for setting an image, may not work on imageView but on view instead. this will allow to stretch/scale an image based on the view's dimensions

    — answered March 25th 2010 by Christian Sigl
    permalink
    0 Comments
  • I tried that and the image stretched, I want to maintain proportions

    — answered March 25th 2010 by Christopher Reding
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.