title: setBound width and height
body: <p>This method gets called after i resize a photo:</p>
  
  <pre><code>- (void)correctSize:(UIView*)view{
      //check if the newWidth is rounded by 50
      CGFloat correctWidth = roundf(_lastScale*_lastWidth/XPCollageGridHorizontalStepSize) * XPCollageGridHorizontalStepSize;
      CGFloat correctHeight = roundf(_lastScale*_lastHeight/XPCollageGridVerticalStepSize) * XPCollageGridVerticalStepSize;
  
      [UIView beginAnimations:nil context:NULL];
      [UIView setAnimationDuration:0.5f]; 
      [view setBounds:CGRectMake(view.bounds.origin.x, view.bounds.origin.y, correctWidth, correctHeight)];
      //[view setFrame:CGRectMake(view.frame.origin.x, view.frame.origin.y, correctWidth, correctHeight)];
      [UIView commitAnimations];
  }
  </code></pre>
  
  <p>It rounds the photo size; a width of 66 will be rounded to 50, 178 to 200 etc.
  It works fine when i use the setFrame method, but because im also working with rotation i want to work with setBounds. </p>
  
  <p>When i use setBounds, the view will resize, but instead of resizing to a rounded number like 300, it resized to something random as 311.23.</p>
  
  <p>Am i missing something here?</p>