fix bookkeeping alignment

This commit is contained in:
Chris Danford
2004-08-22 05:37:12 +00:00
parent 0cea1362b0
commit 02893160ce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ CString LastWeekToString( int iLastWeekIndex )
{
case 0: return "ThisWeek"; break;
case 1: return "LastWeek"; break;
default: return ssprintf("Week%dAgo",iLastWeekIndex); break;
default: return ssprintf("Week%02dAgo",iLastWeekIndex); break;
}
}
+1 -1
View File
@@ -27,7 +27,7 @@ ScreenBookkeeping::ScreenBookkeeping( CString sClassName ) : ScreenWithMenuEleme
for( int i=0; i<NUM_BOOKKEEPING_COLS; i++ )
{
float fX = SCALE( i, 0.f, NUM_BOOKKEEPING_COLS-1, SCREEN_LEFT+50, SCREEN_RIGHT-120 );
float fX = SCALE( i, 0.f, NUM_BOOKKEEPING_COLS-1, SCREEN_LEFT+50, SCREEN_RIGHT-160 );
float fY = CENTER_Y+16;
m_textCols[i].LoadFromFont( THEME->GetPathToF("Common normal") );
m_textCols[i].SetText( ssprintf("%d",i) );