Skip to content

Conversation

@CetoBasilius
Copy link

Function setColorwould not change color on 9-Slice buttons, since it iterated over the buttons children, which would only be _view. Instead, we iterate on self._views children, which contain all the slices.

@CetoBasilius
Copy link
Author

There is a problem though, it also colors the label. Fixing...

@ghost
Copy link

ghost commented Apr 4, 2014

you could always check the child object to see if it contains a .text property. If so don’t color it.


Thank you,
Danny.

Web: http://www.gremlininteractive.com
Twitter: http://bit.ly/1i5hYMp
Google Plus: http://bit.ly/1eQdSVa
LinkedIn: http://linkd.in/1mfScVP

On Saturday 5 April 2014 at 12:54 a.m., CetoBasilius wrote:

There is a problem though, it also colors the label.


Reply to this email directly or view it on GitHub (#4 (comment)).

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants