Skip to content

Commit

Permalink
Update constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbGarciam committed Sep 19, 2020
1 parent c2a374a commit b441233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/BubbleTabBar/BubbleTabBarView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private extension BubbleTabBarView {
mainStackView.spacing = 10
addSubview(mainStackView)
mainStackView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: Constants.horizontalPadding).isActive = true
mainStackView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -Constants.horizontalPadding).isActive = true
mainStackView.topAnchor.constraint(equalTo: topAnchor, constant: Constants.verticalPadding).isActive = true
let centerX = mainStackView.centerXAnchor.constraint(equalTo: centerXAnchor)
centerX.priority = .defaultHigh
Expand Down

0 comments on commit b441233

Please sign in to comment.