Author Topic: Auto adjust box collider on widget turns on when going to play mode  (Read 3294 times)

iverelo

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
I have a box collider attached to a UI sprite and I un-check the Box Collider auto-adjust to match option in the widget but it turns the option back on as soon as I hit play.

Is there a way to keep this off?

iverelo

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 4
    • View Profile
Re: Auto adjust box collider on widget turns on when going to play mode
« Reply #1 on: January 23, 2014, 08:43:09 PM »
Turns out it was something the scroll bar was doing.  I commented out line 102 of UIScrollBar and now it does not resize.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Auto adjust box collider on widget turns on when going to play mode
« Reply #2 on: January 24, 2014, 10:40:42 AM »
Scroll bar's box collider is supposed to resize with it. Otherwise it won't be correct.