commit | b7a54a30167f211647222c0a2f90b369e0e33e32 | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Mon Oct 05 10:16:27 2015 -0500 |
committer | Dees Troy <dees_troy@teamw.in> | Fri Oct 16 22:57:35 2015 +0200 |
tree | fa6464e7a16456936de1cfaa087fcfc2f9564ff2 | |
parent | 11309e912dbd960ed30c26735bac02a7dd70a022 [diff] [blame] |
Allow text to scale to fit Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd
diff --git a/gui/console.cpp b/gui/console.cpp index 1544d77..2d6414e 100644 --- a/gui/console.cpp +++ b/gui/console.cpp
@@ -319,7 +319,7 @@ // render text const char* text = rConsole[itemindex].c_str(); - gr_textEx(mRenderX, yPos, text, mFont->GetResource()); + gr_textEx_scaleW(mRenderX, yPos, text, mFont->GetResource(), mRenderW, TOP_LEFT, 0); } void GUIConsole::NotifySelect(size_t item_selected)