Skip to content

Commit

Permalink
Fix bug: the Back button in Node: UI->UIEditBoxTests click area has p…
Browse files Browse the repository at this point in the history
…ositoin offset.
  • Loading branch information
yangws committed Jul 17, 2015
1 parent a72ea73 commit f9e90f3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,11 @@ bool UIEditBoxTest::init()
// bottom
_editEmail = ui::EditBox::create(Size(editBoxSize.width, editBoxSize.height), "extensions/yellow_edit.png");
_editEmail->setPosition(Vec2(visibleOrigin.x+visibleSize.width/2, visibleOrigin.y+visibleSize.height/4));
_editEmail->setAnchorPoint(Vec2(0.5, 1.0f));
_editEmail->setPlaceHolder("Email:");
_editEmail->setInputMode(ui::EditBox::InputMode::EMAIL_ADDRESS);
_editEmail->setDelegate(this);
addChild(_editEmail);

this->setPosition(Vec2(10, 20));



return true;
}
return false;
Expand Down

0 comments on commit f9e90f3

Please sign in to comment.