mirror of https://github.com/axmolengine/axmol.git
Set textview_hidden to true on init
This commit is contained in:
parent
30fa9e80d3
commit
9067918d73
|
@ -77,7 +77,8 @@ static const int CC_EDIT_BOX_PADDING = 5;
|
||||||
textField_.backgroundColor = [UIColor clearColor];
|
textField_.backgroundColor = [UIColor clearColor];
|
||||||
textField_.borderStyle = UITextBorderStyleNone;
|
textField_.borderStyle = UITextBorderStyleNone;
|
||||||
textField_.delegate = self;
|
textField_.delegate = self;
|
||||||
textField_.returnKeyType = UIReturnKeyDefault;
|
textField_.hidden = true;
|
||||||
|
textField_.returnKeyType = UIReturnKeyDefault;
|
||||||
[textField_ addTarget:self action:@selector(textChanged) forControlEvents:UIControlEventEditingChanged];
|
[textField_ addTarget:self action:@selector(textChanged) forControlEvents:UIControlEventEditingChanged];
|
||||||
self.editBox = editBox;
|
self.editBox = editBox;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue