(feature) Custom base font size for HTML messages

If SOGoMailComposeFontSize is set to zero, we keep the previous
behaviour (no font-size added to the message HTML body).
This commit is contained in:
Francis Lachapelle
2016-02-11 17:45:57 -05:00
parent e897bb0399
commit 256a64172e
11 changed files with 113 additions and 29 deletions
+21
View File
@@ -1172,6 +1172,27 @@ static NSArray *reminderValues = nil;
: [self _defaultEmailAddresses]);
}
//
// Used by templates
//
- (NSArray *) fontSizesList
{
static NSArray *fontSizes = nil;
if (!fontSizes)
{
fontSizes = [NSArray arrayWithObjects: @"8", @"9", @"10", @"11", @"12", @"13", @"14", @"16", @"18",
@"20", @"22", @"24", @"26", @"28",
@"36",
@"48",
@"72",
nil];
[fontSizes retain];
}
return fontSizes;
}
//
// Used by templates
//