Author Topic: Scrollview Panel button scaling bug ?  (Read 5176 times)

k3ch0ng

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Scrollview Panel button scaling bug ?
« on: March 04, 2014, 04:37:35 PM »
Child objects of buttons dont scale when its a child item of the scrollview.

e.g. Example 7, move the "Click Me" button into the UIGrid item list. Notice that when the cursor hovers button, only the UISprite scales, but label stays the same.

... or have I done something wrong ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Scrollview Panel button scaling bug ?
« Reply #1 on: March 05, 2014, 08:24:20 AM »
That's because the panel has a "static" flag turned on. Select the scroll view and read the warning in the inspector.

k3ch0ng

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 8
    • View Profile
Re: Scrollview Panel button scaling bug ?
« Reply #2 on: March 05, 2014, 10:07:19 AM »
Ah thanks  :)