         ])
 
         NSLayoutConstraint.activate([
-            scrollView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: insets.left),
-            scrollView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -1 * insets.right),
+            scrollView.leadingAnchor.constraint(equalTo: leadingAnchor),
+            scrollView.trailingAnchor.constraint(equalTo: trailingAnchor),
             scrollView.topAnchor.constraint(equalTo: topAnchor),
             scrollView.bottomAnchor.constraint(equalTo: bottomAnchor)
         ])

        scrollView.delegate = self

        // Add padding at the end to account for overflow button
        scrollView.contentInset = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: Constants.stackButtonWidth)
    }


    /// Sets up the Constraints
    ///
    func configureConstraints() {
        let insets = Constants.scrollableStackViewInsets

        let overflowTrailingConstraint = overflowToggleItem.trailingAnchor.constraint(equalTo: trailingAnchor)
        overflowTrailingConstraint.priority = UILayoutPriorityDefaultLow


    struct Constants {
        static let overflowExpandedUserDefaultsKey = "AztecFormatBarOverflowExpandedKey"
        static let fixedSeparatorMidPointPaddingX = CGFloat(5)
        static let stackViewCompactSpacing = CGFloat(0)
        static let stackViewRegularSpacing = CGFloat(0)
        static let stackButtonWidth = CGFloat(44)
