Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: pretender on December 19, 2014, 07:39:37 AM

Title: Streching ScrollView and its clipping region from edge to edge?
Post by: pretender on December 19, 2014, 07:39:37 AM
Hi!

i have scrollview with table that positions bunch of buttons horizontaly and i want clipping to work from left to right edge of the screen for every resolution and it should fairly easy to setup...I am a bit frustrated with this since i couldn't manage to make it right. currently i have setup for lowest resolution and let it work that way on higher resolutions (it doesn't stretch to the edge of the screen entirely)

i tried anchoring the scroll view but clipping region is wrong.

checkout the photo and please help, it seems that i am missing something...thanks!
Title: Re: Streching ScrollView and its clipping region from edge to edge?
Post by: ArenMook on December 19, 2014, 08:00:00 AM
Not sure what the screenshot should be showing there...

Anchoring the scroll view is all it should take. It's like any other widget -- it will stretch according to the anchors.