updating title edge insets for button as per VDS
This commit is contained in:
parent
02476e766d
commit
121c290f3b
@ -128,7 +128,6 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol {
|
|||||||
self.borderColor = borderColor
|
self.borderColor = borderColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
titleEdgeInsets = getContentEdgeInsets()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private func getInnerPadding() -> CGFloat {
|
private func getInnerPadding() -> CGFloat {
|
||||||
@ -257,6 +256,7 @@ open class PillButton: Button, MVMCoreUIViewConstrainingProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
layer.cornerRadius = getInnerPadding()
|
layer.cornerRadius = getInnerPadding()
|
||||||
|
titleEdgeInsets = getContentEdgeInsets()
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func setupView() {
|
open override func setupView() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user