title: Disable auto-sizing UICollectionView based on label
body: <p>I'm using <strong>UICollectionView</strong> with <strong>UIStackView</strong>. Inside UIStackView, there are several labels and images. I need layout of <strong>2</strong> columns in each row of UICollectionView. For cell sizing I'm using following method:</p>
  
  <pre><code>func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -&gt; CGSize {
  
      let padding: CGFloat = 10
      let collectionViewSize = collectionView.frame.size.width - padding
  
      return CGSize(width: collectionViewSize/2, height: 400)
  }
  </code></pre>
  
  <p>But as result I see different cell's width. 1st cell or 5th cell in one row, layout ignored my width. How can i make 2 columns always?</p>