mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 06:33:18 +00:00
(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:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user