title: Swift UIStackView utilize full width of UIStackView
body: <p><img src="https://i.stack.imgur.com/bPjBd.png" width="320"></p>
  
  <p>In above screen, you can see I am using a <code>UIStackView</code> to fill radio buttons vertically. problem is my radio buttons not utilising the full width of <code>UIStackView</code> when I use <code>stackV.alignment = .leading</code> it shows label as "dis..lified" instead of disqualified.</p>
  
  <p><strong>UISTackView Code</strong></p>
  
  <pre><code>let ratingStackView : UIStackView = {
  
      let stackV = UIStackView()
      stackV.translatesAutoresizingMaskIntoConstraints = false
      stackV.backgroundColor = UIColor.yellow
      stackV.axis = .vertical
      stackV.distribution = .fillEqually
      stackV.alignment = .leading
      return stackV
  }()
  </code></pre>
  
  <p><strong>Layout of UIStackView</strong></p>
  
  <pre><code>func setupView(){
      view.addSubview(ratingStackView)
  
      ratingStackView.topAnchor.constraint(equalTo: view.safeAreaLayoutGuide.topAnchor).isActive = true
  
      ratingStackView.leadingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.leadingAnchor,constant: 8).isActive = true
  
      ratingStackView.trailingAnchor.constraint(equalTo: view.safeAreaLayoutGuide.trailingAnchor).isActive = true
  
      ratingStackView.heightAnchor.constraint(equalToConstant: 200).isActive = true
  
      //Add radio buttons to stackview
      for ratingButton in ratingRadioButtons{
          ratingStackView.addArrangedSubview(ratingButton)
      }        
  }
  </code></pre>
  
  <p>what property I need to set to utilize full width can you please tell I am new to the Swift for radio buttons. I am using <code>DLRadioButton</code>.</p>