activating leading constratint
This commit is contained in:
parent
4b016974d2
commit
6f5e94887e
@ -289,6 +289,7 @@ open class Carousel: View {
|
||||
.heightGreaterThanEqualTo(containerSize.height)
|
||||
containerView.centerYAnchor.constraint(equalTo: centerYAnchor).activate()
|
||||
containerLeadingConstraint = containerView.leadingAnchor.constraint(equalTo: safeAreaLayoutGuide.leadingAnchor, constant: 0)
|
||||
containerLeadingConstraint?.activate()
|
||||
|
||||
// add content stackview
|
||||
containerView.addSubview(contentStackView)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user