Projects > cpp > Issues > Feature #5346

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

TextField with text cutomization

Feature #5346 [Closed]
naghekyan 2014-05-25 13:03 . Updated over 10 years ago

It is necessary to have a text field that supports all this:

  • text alignment (left, right, center)
  • text shadow
  • text shadow color, angle, distance
  • text stroke

This is very important and I am surprised that it is missing even in cocos2d-x 3.1 version. I belie there are lots of game that input, for example, player name in a fancy designed text field.

It would be nice if this functionality was implemented form TextBox rather than for TextField, as TextBox is easier to use in terms of getting text input.

zhangxm 2014-05-26 01:43

Yep. TextField will be replaced by TextBox.

zhangxm 2014-05-26 01:44
  • Assignee set to owen
  • Target version set to Candidate
naghekyan 2014-05-26 03:26

Good to know that TextBox will replace TextField :). But text box will support bitmap font? Or it will just support shadow, alignment and so on?

zhangxm 2014-05-26 03:41

Sorry.
What i mean is that TextField will be merged into UI system.
And the name may not be TextBox.
The features you listed may not support at first.

walzer@cocos2d-x.org 2014-10-08 02:45

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8442

Atom PDF

Status:Closed
Start date:2014-05-25
Priority:Low
Due date:
Assignee:owen
% Done:

0%

Category:all
Target version:Candidate