From b7a54a30167f211647222c0a2f90b369e0e33e32 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 5 Oct 2015 10:16:27 -0500 Subject: Allow text to scale to fit Change-Id: Iacd4bb78f551b51d092ecde09521b5541e7dadcd --- gui/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/console.cpp') diff --git a/gui/console.cpp b/gui/console.cpp index 1544d77a1..2d6414ea4 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -319,7 +319,7 @@ void GUIConsole::RenderItem(size_t itemindex, int yPos, bool selected) // 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) -- cgit v1.2.3