title: Adjusting the positions of the labels in a UITableViewCell
body: <p>I'm using a UITableViewCell with UITableViewCellStyleSubtitle. However, because of the background image I'm using for the cell, I don't like where the detailTextLabel is going. I want to move it and resize it within the cell, but nothing I try seems to work.</p>
  
  <pre><code>CGRect currRect = cell.detailTextLabel.frame;
  cell.detailTextLabel.frame = CGRectMake(currRect.origin.x + 20, currRect.origin.y, currRect.size.width - 40, currRect.size.height);
  </code></pre>
  
  <p>I tried putting this code into both tableView:cellForRowAtIndexPath and tableView:willDisplayCell:forRowAtIndexPath methods, but neither works. The label simply stays where it is, and the same size.</p>
  
  <p>Adjustment of other properties of the label (textAlignment, backgroundColor, and, of course, the text itself) works correctly.</p>
  
  <p>How to I get the detailTextLabel to move where I need to?</p>
  
  <p>In case this matters (though I don't see why it should), this particular cell also has imageView.image and backgroundImage properties set. Both images display correctly.</p>