Author Topic: Bug when nesting scrollviews and a small feature request  (Read 4048 times)

breakmachine

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 71
    • View Profile
Bug when nesting scrollviews and a small feature request
« on: February 26, 2014, 08:35:13 AM »
Hi Michael!

We have nested scrollviews in one of our projects and recently they have stopped working properly. It has to do with UIPanel.baseClipRegion calling UIScrollview.UpdatePosition and it makes the nested scrollview jump to the top.

Secondly I have a little feature request. As complement to restrictWithinPanel I'd like the content to scroll to the top if it fits.

I have a package with  example files for both issues here:
« Last Edit: February 26, 2014, 01:57:38 PM by ArenMook »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Bug when nesting scrollviews and a small feature request
« Reply #1 on: February 26, 2014, 01:58:03 PM »
What the hell is with people keep posting NGUI's source code in a public forum in the past two days? You are the 4th person to do this now. Use some common sense.

breakmachine

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 71
    • View Profile
Re: Bug when nesting scrollviews and a small feature request
« Reply #2 on: February 26, 2014, 03:35:32 PM »
Omg, I'm so sorry. I removed the file immidiately. Of course not my intention, I'd missed deselecting include dependencies. I feel really bad. Sorry.