Fixed broken 'new player' dialog

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3667 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2009-06-28 20:49:47 +00:00
parent 23192bfe21
commit 94c1addf3f

View File

@@ -183,7 +183,7 @@ EnterPlayerNameDialog::EnterPlayerNameDialog(const float w, const float h) :
cancelButton->m_properties[PROP_ID] = "cancel";
cancelButton->m_properties[PROP_TEXT] = _("Press ESC to cancel");
cancelButton->x = 15;
cancelButton->y = m_area.getHeight() - textHeight + 12;
cancelButton->y = m_area.getHeight() - textHeight - 12;
cancelButton->w = m_area.getWidth() - 30;
cancelButton->h = textHeight + 6;
cancelButton->setParent(m_irrlicht_window);