Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: bloomk on February 01, 2016, 06:07:33 PM

Title: UIlabels not visible after an alpha tween
Post by: bloomk on February 01, 2016, 06:07:33 PM
I have a UIWidget with an alpha tween on it. The widget has a uisprite inside it, and inside that is several uiLabels. When i activate the alpha tween from 1 to 0, and then later back from 0 to 1, the labels are not always visible until the text of the label changes. Any idea why? Also, how do i fix it? can i trigger a manual forced update?
Title: Re: UIlabels not visible after an alpha tween
Post by: bloomk on February 02, 2016, 05:10:33 PM
Any idea? thanks
Title: Re: UIlabels not visible after an alpha tween
Post by: bloomk on February 03, 2016, 02:12:22 PM
Please help, i have a production app that is having an issue and i need to get it fixed... thanks
Title: Re: UIlabels not visible after an alpha tween
Post by: ArenMook on February 04, 2016, 09:18:43 PM
There is no reason for something like that. When you change an alpha of a widget, all the widget's children change as well. Alpha is cumulative. The only reason it wouldn't work would be modifying NGUI's source somewhere, using some old outdated version of NGUI, or changing sprites' transform parents without notifying the widgets to inform them that you've done so.
Title: Re: UIlabels not visible after an alpha tween
Post by: bloomk on February 11, 2016, 07:28:08 PM
I think it was caused by using a clipping texture of a panel. I changed the way it worked and it fixed it.. so thanks :)