Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: CarlosMassiah on May 30, 2014, 10:34:36 AM

Title: Snap UILabel to the top of ScrollView
Post by: CarlosMassiah on May 30, 2014, 10:34:36 AM
How do I snap a widget or a UILabel to the top of a ScrollView?
Effectively I want to do what RestrictWithinBounds does, but that causes an error when I call it.
Title: Re: Snap UILabel to the top of ScrollView
Post by: ArenMook on May 30, 2014, 03:22:39 PM
UIScrollView.ResetPosition(), assuming you set the scroll view's origin.