c++ - I need a text field or "Label vs TextField" -
i develop game cocos2d-x rc1 , need text field show score of player. 1 use cocos2d::label
or textfield
defined in cocos/ui/uitextfield.cpp ? difference? example, have noticed label
has enableshadow
, textfield
misses.
don't use textfield
mere output field. (jeff johnson: "gui bloopers", blooper #17.)
text fields meant input. fact can active or passive doesn't mean should used in always-passive mode output. display result, use label
indicating following value is, , label
value itself.
score: 42
later 1 reason inactive textfield
typically has appearance dampens visibility, being grayed out. 1 border surrounding textfield
identifies place data can entered, if not now, other time; , bound irritate users trained observe such niceties - , there are, me 4 1 ;-)
Comments
Post a Comment