Fixed minor instance of text clipping

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8450 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-04-25 02:04:35 +00:00
parent 83f426c545
commit ee3b52d10a

View File

@ -190,6 +190,7 @@ void TrackInfoDialog::addHighScoreWidgets(const int hscores_y_from, const int hs
IGUIStaticText* hscores_header = GUIEngine::getGUIEnv()->addStaticText( text.c_str(), hiscores_title_area,
false , true , // border, word warp
m_irrlicht_window);
hscores_header->setTextRestrainedInside(false);
hscores_header->setTextAlignment(EGUIA_CENTER, EGUIA_CENTER);
// fill highscore entries