Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: woshihuo12 on September 01, 2014, 03:04:50 AM

Title: i meet a bug with UIButtonColor.
Post by: woshihuo12 on September 01, 2014, 03:04:50 AM
Button (UISprite) (UIButton) (UIButtonColor)
   |- ButtonLabel (UILabel)

i use UIButton control "Button"'s color and i use UIButtonColor control "ButtonLabel"'s color.
when i set button disabled, the "Button"'s color changed, but the "ButtonLabel"'s color not changed..

when i change UIButtonColor with UIButton, the "Button" and "ButtonLabel" 's color can changed very well....
so ,this is a bug?
and how can i fix this?
Title: Re: i meet a bug with UIButtonColor.
Post by: ArenMook on September 01, 2014, 12:22:56 PM
There is no reason to use UIButtonColor in this case. Use two UIButton components. Have a look at my last video I posted on Youtube. I show a UI for Windward with quite a few elements that have multiple button components on them.