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 {
|
switch buttonSize {
|
||||||
case .tiny:
|
case .tiny:
|
||||||
titleLabel?.font = MFFonts.mfFont75Bd(11 * (intrinsicContentSize.height / Styler.Button.Size.tiny.getHeight()))
|
titleLabel?.font = Styler.Font.BoldMicro.getFont()
|
||||||
case .small:
|
case .small:
|
||||||
titleLabel?.font = Styler.Font.BoldBodySmall.getFont()
|
titleLabel?.font = Styler.Font.BoldBodySmall.getFont()
|
||||||
case .standard:
|
case .standard:
|
||||||
|
|||||||
@ -191,7 +191,7 @@ open class Styler {
|
|||||||
case .small:
|
case .small:
|
||||||
return 32
|
return 32
|
||||||
case .tiny:
|
case .tiny:
|
||||||
return 20
|
return 26
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user