Hello Guest

Author Topic: UI Related Questions - Scroll and Buttons  (Read 4104 times)

zettam

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
UI Related Questions - Scroll and Buttons
« on: April 01, 2014, 12:42:52 pm »
Just started using the integrated UI solution for a mobile project. Here are a two questions related to integrated UI system scroll area:
  • Using scroll area with big buttons (shop interface). When buttons are touched, scroll does not work any more, which makes the whole scroll meaningless for my case since buttons cover most of the area. Is it possible to make a treshold based system, that will scroll the area? Tried to solve this issue without any solution yet.
  • Is it possible to control thee easing/behavior of scroll area and scrollbars?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: UI Related Questions - Scroll and Buttons
« Reply #1 on: April 01, 2014, 02:06:13 pm »
1. Make sure the "Child of another UIItem" flag is ticked on the buttons behaviour.
2. tk2dUIScrollableArea.BackgroundOverUpdate does the inertial scrolling, if you need to modify that.

zettam

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: UI Related Questions - Scroll and Buttons
« Reply #2 on: April 01, 2014, 02:48:58 pm »
"Child of another UIItem" is ticked,
Still the same behavior..

zettam

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: UI Related Questions - Scroll and Buttons
« Reply #3 on: April 01, 2014, 02:56:02 pm »
Oh nevermind! fixed! I guess unity inspector made it's magic again :)