From 92b0c8056396fa7a613ff9ba9cb0d8f4d4601fa4 Mon Sep 17 00:00:00 2001 From: "wagic.jeck" Date: Tue, 16 Feb 2010 17:48:31 +0000 Subject: [PATCH] Jeck - Simple scaling of the options tabs. --- projects/mtg/src/WGui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/mtg/src/WGui.cpp b/projects/mtg/src/WGui.cpp index e4ad2c1bd..a439721cc 100644 --- a/projects/mtg/src/WGui.cpp +++ b/projects/mtg/src/WGui.cpp @@ -931,7 +931,7 @@ void WGuiTabMenu::Render(){ return; int offset = x; - + mFont->SetScale(0.8); for(vector::iterator it = items.begin();it!=items.end();it++){ int w = mFont->GetStringWidth(_((*it)->getDisplay()).c_str()); mFont->SetColor((*it)->getColor(WGuiColor::TEXT_TAB)); @@ -939,6 +939,7 @@ void WGuiTabMenu::Render(){ mFont->DrawString(_((*it)->getDisplay()).c_str(),offset+10,10); offset += w + 10 + 2; } + mFont->SetScale(1); WGuiBase * c = Current(); if(c)