updating title edge insets for button as per VDS

This commit is contained in:
Sumanth Nadigadda 2022-03-24 13:35:49 +05:30
parent 02476e766d
commit 121c290f3b

View File

@ -128,7 +128,6 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol {
self.borderColor = borderColor
}
}
titleEdgeInsets = getContentEdgeInsets()
}
private func getInnerPadding() -> CGFloat {
@ -257,6 +256,7 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol {
}
layer.cornerRadius = getInnerPadding()
titleEdgeInsets = getContentEdgeInsets()
}
open override func setupView() {