mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
fixed code to make sure that the font value is used everywhere rather than
hardcoded values.
This commit is contained in:
parent
80dacaee7e
commit
a841f8ec0b
@ -63,7 +63,7 @@ nsCalMonthContextController :: nsCalMonthContextController(nsISupports* outer) :
|
||||
m_iFontSize = 10;
|
||||
m_iMCRows = 0;
|
||||
m_iMCCols = 0;
|
||||
m_sFontName = "Times New Roman";
|
||||
m_sFontName = "Arial"; // Used to be "Times Roman"
|
||||
m_iMCVertSpacing = 10;
|
||||
m_iMCHorzSpacing = 10;
|
||||
m_iCellHorzSpacing = 4;
|
||||
@ -151,7 +151,7 @@ nsresult nsCalMonthContextController :: Init()
|
||||
return res ;
|
||||
m_ActionDateList->Init();
|
||||
|
||||
nsFont font("Arial", NS_FONT_STYLE_NORMAL,
|
||||
nsFont font(m_sFontName /*"Arial"*/, NS_FONT_STYLE_NORMAL,
|
||||
NS_FONT_VARIANT_NORMAL,
|
||||
NS_FONT_WEIGHT_BOLD,
|
||||
0,
|
||||
@ -1602,7 +1602,7 @@ void nsCalMonthContextController::SetFDOW(int i)
|
||||
|
||||
void nsCalMonthContextController::SetDefaults()
|
||||
{
|
||||
m_sFontName = "Times New Roman";
|
||||
m_sFontName = "Arial"; // "Times New Roman";
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user