Merge branch 'bugfix/CUSTMKTNG-3800' into 'develop'

update font for primary button

See merge request BPHV_MIPS/mvm_core_ui!563
This commit is contained in:
Pfeil, Scott Robert 2020-08-13 16:51:48 -04:00
commit 0512d9e25e

View File

@ -468,17 +468,17 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
}
+ (nullable UIFont *)fontForPrimaryButton:(BOOL)genericScaling {
CGFloat size = 14;
CGFloat size = 13;
if (genericScaling) {
size = [self sizeFontGenericForCurrentDevice:size];
}
return [MFFonts mfFont75Bd:size];
return [MFFonts mfFontTXBold:size];
}
+ (nullable UIFont *)fontForPrimaryButtonForWidth:(CGFloat)size {
CGFloat pointSize = 14;
CGFloat pointSize = 13;
pointSize = [[MFStyler sizeObjectGenericForCurrentDevice:pointSize] getValueBasedOnSize:size];
return [MFFonts mfFont75Bd:pointSize];
return [MFFonts mfFontTXBold:pointSize];
}
+ (nullable UIFont *)fontForSmallButton:(BOOL)genericScaling {
@ -486,13 +486,13 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
if (genericScaling) {
size = [self sizeFontGenericForCurrentDevice:size];
}
return [MFFonts mfFont75Bd:size];
return [MFFonts mfFontTXBold:size];
}
+ (nullable UIFont *)fontForSmallButtonForWidth:(CGFloat)size {
CGFloat pointSize = 11;
pointSize = [[MFStyler sizeObjectGenericForCurrentDevice:pointSize] getValueBasedOnSize:size];
return [MFFonts mfFont75Bd:pointSize];
return [MFFonts mfFontTXBold:pointSize];
}
+ (nullable UIFont *)fontForTextField:(BOOL)genericScaling {