Font and padding changes to tiny button

This commit is contained in:
Sumanth Nadigadda 2022-04-13 01:48:30 +05:30
parent b972bdba5b
commit 27289f1ac8
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol {
switch buttonSize {
case .tiny:
titleLabel?.font = MFFonts.mfFont75Bd(11 * (intrinsicContentSize.height / Styler.Button.Size.tiny.getHeight()))
titleLabel?.font = Styler.Font.BoldMicro.getFont()
case .small:
titleLabel?.font = Styler.Font.BoldBodySmall.getFont()
case .standard:

View File

@ -191,7 +191,7 @@ open class Styler {
case .small:
return 32
case .tiny:
return 20
return 26
}
}
}