Author Topic: What happened to stretch to fill?  (Read 4088 times)

darthbator

  • Guest
What happened to stretch to fill?
« on: June 17, 2012, 04:55:32 PM »
I was watching this tutorial linked below and noticed that stretch to fill seems to no longer be an option option on the UIAnchor script.

http://www.youtube.com/watch?v=95h4mvhT73w#t=4m48s

Has this functionality moved to a different code object? Are there some newer tutorials / documentation that I should be looking at?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What happened to stretch to fill?
« Reply #1 on: June 17, 2012, 05:51:13 PM »
It's now in UIStretch.

darthbator

  • Guest
Re: What happened to stretch to fill?
« Reply #2 on: June 17, 2012, 06:19:38 PM »
Awesome! thanks so much for the help! Is there any more recent documentation of tutorials available? That stuff on youtube appears to be something like .6 versions or so out of date. If the answers is to just read through these forums is there a post of "tagged" subjects that are commonly asked or anything.

BTW Thank you for the EXTREMELY prompt response.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What happened to stretch to fill?
« Reply #3 on: June 17, 2012, 06:22:37 PM »
For UIStretch there might not be, but it's fairly straightforward. Attach it to a sprite, specify '1' for whichever dimension(s) you want to stretch, and it will do the rest. You can also stretch only partway, for example 0.75 will mean it will only take 75% of the specified dimension.

darthbator

  • Guest
Re: What happened to stretch to fill?
« Reply #4 on: June 17, 2012, 07:32:31 PM »
I sorta meant more generally. If there was a written manual or some newer general purpose video tutorials or if those where the newest and variations would be generally small kinda like UIStretch was. Thanks a lot for all of the help! Such quick assistance makes me doubly glad that I purchased this product.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: What happened to stretch to fill?
« Reply #5 on: June 17, 2012, 07:37:59 PM »
I'll have to update those videos eventually, it's true. :)