title: Auto resizing UITableView on rotation with flexible width
body: <p>I am adding UIButtons to a UIView located on the right side of a split view controller.  Without any autoresizing set, the button text fully displays in landscape orientation.  When I rotate to portrait orientation, all button text is fully displayed, but there is extra space on the right hand side of the UIView, because there is more real estate to work with.</p>
  
  <p>I would like these buttons to resize on rotation so that it utilizes the entire width.  I tried setting:</p>
  
  <pre><code>[button setAutoresizingMask:UIViewAutoresizingFlexibleWidth];
  </code></pre>
  
  <p>With this in place, the same extra real estate exists on the portrait orientation, but in landscape orientation I get a lot of buttons with the text shortened with "..."</p>
  
  <p>How can this be done?</p>