contentEdgeInsets.bottom

This commit is contained in:
xaoxuu 2023-03-23 16:43:33 +08:00
parent 2f6b514666
commit d06fb00c6f
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ open class Button: UIButton {
setTitleColor(textColor, for: .normal) setTitleColor(textColor, for: .normal)
backgroundColor = .none backgroundColor = .none
contentEdgeInsets.top = 0 contentEdgeInsets.top = 0
contentEdgeInsets.bottom = 4 contentEdgeInsets.bottom = 0
} }
} }