     let keyPathButton: UIButton = {
         let button = UIButton(type: .Custom)
         button.setContentHuggingPriority(901, forAxis: UILayoutConstraintAxis.Horizontal)
+        button.setContentCompressionResistancePriority(900, forAxis: UILayoutConstraintAxis.Horizontal)
         button.contentHorizontalAlignment = .Left
         button.setTitleColor(kButtonTint, forState: UIControlState.Normal)
         return button

            make.bottom.equalTo(self)
            make.height.equalTo(1)
        }
    }
    
    func configureViews() {

        inputTextField.inputAccessoryView = inputAccessory
        inputPicker.addTarget(self, action: #selector(RowView.didTapInputPickerButton(_:)), forControlEvents: .TouchUpInside)

        let containerView = UIView()
        containerView.setContentHuggingPriority(1000, forAxis: .Vertical)
        addSubview(containerView)
        containerView.snp_makeConstraints { (make) in
            make.left.equalTo(kHorizontalMargin)
            make.top.equalTo(kVerticalMargin)
            make.bottom.equalTo(-kVerticalMargin)
        }
        
        containerView.addSubview(buttonStackView)
        setupButtonStackView()
        buttonStackView.snp_makeConstraints { (make) in
            make.left.equalTo(containerView)
            make.top.equalTo(containerView)
            make.height.equalTo(28)
            make.right.equalTo(containerView).priority(1000)
        }
        
        containerView.addSubview(inputStackView)
        inputStackView.snp_makeConstraints { (make) in
            make.left.equalTo(containerView)
            make.right.equalTo(containerView)
            make.top.equalTo(buttonStackView.snp_bottom).offset(0)
            self.stackViewHeightConstraint = make.height.equalTo(0).constraint
            self.stackViewBottomMarginConstraint = make.bottom.equalTo(containerView).constraint
        }
        
        addSubview(separatorView)
