Font and padding changes to tiny button
This commit is contained in:
parent
b972bdba5b
commit
27289f1ac8
@ -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:
|
||||
|
||||
@ -191,7 +191,7 @@ open class Styler {
|
||||
case .small:
|
||||
return 32
|
||||
case .tiny:
|
||||
return 20
|
||||
return 26
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user