Fix toggle alignment issue
This commit is contained in:
parent
973c45adbd
commit
f27f04c23d
@ -208,8 +208,8 @@ open class Toggle: Control, Changeable, FormFieldable, ParentViewProtocol {
|
|||||||
|
|
||||||
//toggle
|
//toggle
|
||||||
toggleConstraints = [
|
toggleConstraints = [
|
||||||
toggleView.leadingAnchor.constraint(greaterThanOrEqualTo: leadingAnchor),
|
toggleView.leadingAnchor.constraint(equalTo: leadingAnchor),
|
||||||
toggleView.trailingAnchor.constraint(lessThanOrEqualTo: trailingAnchor)
|
toggleView.trailingAnchor.constraint(equalTo: trailingAnchor)
|
||||||
]
|
]
|
||||||
|
|
||||||
//toggle and label variants
|
//toggle and label variants
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user