title: Putting UILabel in center of Collection View?
body: <p>I want a UILabel to appear in the center of my Collection View with a background color. However, when I drag one onto the view in my Storyboard and set its background color it seems to take up the whole view. Instead I want it to just take up a small rectangular section that just surrounds its text within. Here's what I have and what I want it to look like:</p>
  
  <p><strong>Current:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/joG9w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/joG9w.png" alt="storyboard"></a></p>
  
  <p><strong>Goal:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/x2Qu4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x2Qu4.png" alt="want"></a></p>
  
  <p>Is there any way to set the labels height and width manually? I want it to continue its current behavior of appearing over the cells that get generated in the collection view, but to only take up a limited amount of space instead of taking up the whole view.</p>