Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Altaf

Pages: [1]
1
NGUI 3 Support / Re: Adjust UIPanel clipping center
« on: March 20, 2014, 03:42:09 PM »
Thank you so much. Setting the anchor fixed my problem.

Thanks again,
   Altaf

2
NGUI 3 Support / Adjust UIPanel clipping center
« on: March 18, 2014, 07:40:56 AM »
Hello,
I have a menu, I add items to this menu by parsing a xml file. I read height & width of the widgets form the xml & set them accordingly. I am having trouble with UIPanel clipRange.
When I add the items dynamically I need to adjust the baseClipRegion. Because of this, the UIPanel`s clipping center changes. I have set my menu such that only one item is visible at a time.
When I set the UIPanel.baseClipRegion, center changes & the widget gets clipped on either side. How do I calculate this?


Thanks,
  Altaf

Pages: [1]