Author Topic: i meet a bug with UIButtonColor.  (Read 2666 times)

woshihuo12

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 17
    • View Profile
i meet a bug with UIButtonColor.
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: i meet a bug with UIButtonColor.
« Reply #1 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.