     override func viewDidLoad() {
         super.viewDidLoad()
 
-        view.addSubview(buttonContainer)
+        view.addSubview(buttonSpacer)
 
         // New tab button and label.
-        buttonContainer.addSubview(newTabButton)
+        view.addSubview(newTabButton)
         newTabButton.snp_makeConstraints { make in
-            make.top.equalTo(buttonContainer)
-            make.centerX.equalTo(buttonContainer.snp_left)
+            make.top.equalTo(buttonSpacer)
+            make.centerX.equalTo(buttonSpacer.snp_left)
         }
 
         // New private tab button and label.
-        buttonContainer.addSubview(newPrivateTabButton)
+        view.addSubview(newPrivateTabButton)
         newPrivateTabButton.snp_makeConstraints { make in
             make.centerY.equalTo(newTabButton.snp_centerY)
-            make.centerX.equalTo(buttonContainer.snp_right)
+            make.centerX.equalTo(buttonSpacer.snp_right)
         }
 
         newTabButton.label.snp_makeConstraints { make in


        newPrivateTabButton.label.snp_makeConstraints { make in
            make.trailing.lessThanOrEqualTo(view)
            make.left.greaterThanOrEqualTo(newTabButton.snp_right).priorityHigh()
        }

        buttonContainer.snp_makeConstraints { make in
            make.width.equalTo(view.snp_width).multipliedBy(TodayUX.buttonContainerMultipleOfScreen)
            make.centerX.equalTo(view.snp_centerX)
            make.top.equalTo(view.snp_top).offset(TodayUX.verticalWidgetMargin)
            make.bottom.equalTo(newPrivateTabButton.label.snp_bottom).priorityLow()

            if hasCopiedURL {
                extraHeight += TodayUX.copyLinkButtonHeight + TodayUX.verticalWidgetMargin
            }
            make.height.equalTo(buttonSpacer.snp_height).offset(extraHeight)
        }
    }

    override func viewDidLayoutSubviews() {
        let preferredWidth: CGFloat = view.frame.size.width / CGFloat(buttonSpacer.subviews.count + 1)
        newPrivateTabButton.label.preferredMaxLayoutWidth = preferredWidth
        newTabButton.label.preferredMaxLayoutWidth = preferredWidth
    }
