This commit is contained in:
Glenn Maynard
2003-11-24 02:41:52 +00:00
parent ab88907742
commit 01d7bab936
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ void GroupList::Load( const CStringArray& asGroupNames )
void GroupList::ResetTextSize( int i )
{
BitmapText *label = m_textLabels[i];
const float fTextWidth = (float)label->GetWidestLineWidthInSourcePixels();
const float fTextWidth = (float)label->GetUnzoomedWidth();
const float fButtonWidth = m_sprButtons[i]->GetZoomedWidth();
float fZoom = fButtonWidth/fTextWidth;