Merge branch 'feature/Button-FontScaling' into 'feature/develop_mvp_3'

Removing font scaling for Pillbutton

See merge request BPHV_MIPS/mvm_core_ui!852
This commit is contained in:
Pfeil, Scott Robert 2022-05-11 15:56:38 +00:00
commit 7be09184c0

View File

@ -185,11 +185,11 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol {
switch buttonSize { switch buttonSize {
case .tiny: case .tiny:
titleLabel?.font = Styler.Font.BoldMicro.getFont() titleLabel?.font = Styler.Font.BoldMicro.getFont(false)
case .small: case .small:
titleLabel?.font = Styler.Font.BoldBodySmall.getFont() titleLabel?.font = Styler.Font.BoldBodySmall.getFont(false)
case .standard: case .standard:
titleLabel?.font = Styler.Font.BoldBodyLarge.getFont() titleLabel?.font = Styler.Font.BoldBodyLarge.getFont(false)
} }
layer.cornerRadius = getInnerPadding() layer.cornerRadius = getInnerPadding()