Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: DarkMagicCK on April 02, 2014, 02:22:49 AM

Title: Manually set scrollview restrict area?
Post by: DarkMagicCK on April 02, 2014, 02:22:49 AM
ScrollView can detect its range, that's good. But sometimes we need a constant draggable area.

eg. Sometimes we do not want the scrollview to count some decorate sprites as its drag range, which is tweening scale or position at the side of the scroll view's panel. When player drag this view to the edge, restrict with panel will restrict to different position.This causes strange user experience.

Is there any way to change restrict way, like not restrict within panel, but a constant rectangle, or something like this?
Title: Re: Manually set scrollview restrict area?
Post by: DarkMagicCK on April 04, 2014, 12:48:40 AM
any ideas?
Title: Re: Manually set scrollview restrict area?
Post by: ArenMook on April 04, 2014, 09:13:17 PM
You can make the region of content bigger by adding some invisible widgets (ALT+SHIFT+W, resize to mark the area of the content).

You can't make it smaller than the sum of the widget bounds.