-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The color of the underline is different from the text color. #15214
Milestone
Comments
ricardoquesada
added a commit
to ricardoquesada/cocos2d-x
that referenced
this issue
Jun 18, 2016
underline will have the same solor as text in TTF when calling `setColor`. There is another method called `setTextColor` which is confusing. What does each function? github issue cocos2d#15214
either wait until v3.13 is released, or use |
dumganhar
pushed a commit
to dumganhar/cocos2d-x
that referenced
this issue
Jun 26, 2016
underline will have the same solor as text in TTF when calling `setColor`. There is another method called `setTextColor` which is confusing. What does each function? github issue cocos2d#15214
ricardoquesada
added a commit
to ricardoquesada/cocos2d-x
that referenced
this issue
Sep 1, 2016
fixes Github issue cocos2d#15214 correctly. underline uses _displayColor and not _textColorF. _textColorF is only for the text. This also emulates the SystemFont underline behavior fixes Github issue cocos2d#16471
ricardoquesada
added a commit
that referenced
this issue
Sep 1, 2016
re-fixed in v3.14.
|
Merged
minggo
pushed a commit
that referenced
this issue
Sep 1, 2016
* fix: Label updateColor() and underline color work as expected fixes Github issue #15214 correctly. underline uses _displayColor and not _textColorF. _textColorF is only for the text. This also emulates the SystemFont underline behavior fixes Github issue #16471 * docs: added more internal doc for issue_16471
minggo
pushed a commit
to minggo/cocos2d-x
that referenced
this issue
Sep 5, 2016
…d#16486) fixes Github issue cocos2d#15214 correctly. underline uses _displayColor and not _textColorF. _textColorF is only for the text. This also emulates the SystemFont underline behavior fixes Github issue cocos2d#16471
minggo
pushed a commit
to minggo/cocos2d-x
that referenced
this issue
Sep 5, 2016
* fix: Label updateColor() and underline color work as expected fixes Github issue cocos2d#15214 correctly. underline uses _displayColor and not _textColorF. _textColorF is only for the text. This also emulates the SystemFont underline behavior fixes Github issue cocos2d#16471 * docs: added more internal doc for issue_16471
minggo
added a commit
that referenced
this issue
Sep 7, 2016
* fix: Label updateColor() and underline color work as expected (#16486) fixes Github issue #15214 correctly. underline uses _displayColor and not _textColorF. _textColorF is only for the text. This also emulates the SystemFont underline behavior fixes Github issue #16471 * fix conflict * Issue 16471 (#16489) * fix: Label updateColor() and underline color work as expected fixes Github issue #15214 correctly. underline uses _displayColor and not _textColorF. _textColorF is only for the text. This also emulates the SystemFont underline behavior fixes Github issue #16471 * docs: added more internal doc for issue_16471
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If use TrueType font, the color of the underline is different from the text color.
The text was updated successfully, but these errors were encountered: