Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dharmaraj on December 04, 2014, 04:45:07 AM
-
Hi,
How can I adjust the scroll view visible area(soft clip) dynamically with respect to the device.
I have a scroll view with the height matches ipad resolution, when I change the preview screen to iphone5 resolution the scroll view becomes smaller in height. The scroll view is anchored top. Any help?
Thanks
-
You can use UIPanel.SetRect, or anchor the panel to a widget, and adjust the widget's dimensions instead. Or adjust UIPanel's baseClipRegion directly, up to you.