title: Control UIBarButtonItem resizing iOS 7
body: <p>I have a navigationBar set up with an image for titleView as well as a leftBarButtonItem and a rightBarButtonItem. </p>
  
  <p>The problem is that when I change the title of the leftBarButtonItem to a wider one it causes the titleView to jump a couple of pixels to the right.</p>
  
  <p>So how can I control the resizing behaviour of barButtonItems?</p>
  
  <p>My code where I create the buttons and image:</p>
  
  <pre><code>UIImage *navBarTitleImage = [UIImage imageNamed:@"header_icon.png"];
  self.navigationItem.titleView = [[UIImageView alloc] initWithImage:navBarTitleImage];
  
  UIBarButtonItem *unitButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Metric", nil) style:UIBarButtonItemStylePlain target:self action:@selector(changeUnits)];
  self.navigationItem.leftBarButtonItem = unitButton;
  
  UIBarButtonItem *resetButton = [[UIBarButtonItem alloc] initWithTitle:NSLocalizedString(@"Reset", nil) style:UIBarButtonItemStylePlain target:self action:@selector(resetValues)];
  self.navigationItem.rightBarButtonItem = resetButton;
  </code></pre>
  
  <p>Any help would be very appreciated!</p>