Author Topic: issue with scene "Example 7 - Scroll View (Panel)"  (Read 3785 times)

mindlube

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 46
    • View Profile
issue with scene "Example 7 - Scroll View (Panel)"
« on: November 18, 2012, 12:57:07 PM »
The "Center on Items" functionality only works when you drag the scroll view. It doesn't work if you drag the scroll-bar. Seems like maybe a bug? I'm testing with a mouse, in Editor, on Mac, NGUI 2.2.6c


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: issue with scene "Example 7 - Scroll View (Panel)"
« Reply #1 on: November 18, 2012, 04:11:35 PM »
Yeah you're right. I skipped over that one back then.

Well, it's fixed now in the git repository (Pro users) -- UICenterOnChild will use the panel's scroll bars as well.

basil_11

  • Guest
Re: issue with scene "Example 7 - Scroll View (Panel)"
« Reply #2 on: January 08, 2013, 03:53:46 AM »
Hi Aren,

Im just new in NGUI and I'm trying to follow your tutorial in Scroll View (Clipped Panel) http://www.tasharen.com/?page_id=4444

but I cant make my textures hide when i scroll the Panel.

Texture Shader i used is Unlit/Transparent Colored
my UIPanel Clipping is Softclip >Center/Size/Softeness are already adjusted.

what do you think is the problem?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: issue with scene "Example 7 - Scroll View (Panel)"
« Reply #3 on: January 08, 2013, 09:49:09 AM »
1. Shaders must be enabled (GLES 1.1 / ARMv6 disabled shader support, and so does quality setting of "fastest").
2. Scales of all game objects leading up to your clipped panel (and including the clipped panel itself) must be (1, 1, 1).