Welcome,
Guest
. Please
login
or
register
.
November 01, 2025, 10:55:22 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Snap UILabel to the top of ScrollView
« previous
next »
Print
Pages: [
1
]
Author
Topic: Snap UILabel to the top of ScrollView (Read 1960 times)
CarlosMassiah
Newbie
Thank You
-Given: 1
-Receive: 0
Posts: 10
Snap UILabel to the top of ScrollView
«
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.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Snap UILabel to the top of ScrollView
«
Reply #1 on:
May 30, 2014, 03:22:39 PM »
UIScrollView.ResetPosition(), assuming you set the scroll view's origin.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Snap UILabel to the top of ScrollView