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 - Pikol

Pages: [1]
1
NGUI 3 Support / Re: UISprite drawing issue
« on: October 22, 2014, 06:24:36 AM »
Thanks for answer, but i use script almost same with EnvelopContent - this script repositions his children inside relative to pivot and fits to total size of all childs.

2
I think you should set scaling type of your UIRoot as Constrained and mark Fit for Content Width and Content Height.

3
NGUI 3 Support / UISprite drawing issue
« on: October 22, 2014, 02:44:12 AM »
Hi all.
I've been running into an issue with UISprite.
I have prefab for simple chat message, it have special script - anchor binding that set anchors by some conditions (text size, like phone messages).
Sometimes, when script set anchors, it look like that:

As you can see - physically sprite placed normally (on right side), but it was drew outside them rect. And what the worst - i have no idea what is going wrong.

Pages: [1]