title: How to increase picker view ( transformed pickerview ) width?
body: <p>I am trying to scroll the picker view horizontally and this is my code.</p>
  
  <p>in viewDidLoad I did this,</p>
  
  <pre><code>     CGRect frame = horizontalPickerView.frame;
              frame.size.width = 50;
              frame.size.height = 216;
              frame.origin.x=90;
              frame.origin.y = 200;
              horizontalPickerView.frame = frame;
  
              horizontalPickerView.transform = CGAffineTransformMakeRotation(3.14159/2); 
  
  
  
  
  
  
  - (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view{
          UILabel *lbl = [[[UILabel alloc] initWithFrame:CGRectMake(0, 0, 30, 20)] autorelease];
          lbl.transform = CGAffineTransformMakeRotation(-3.14159/2);
          lbl.text = @"hi";
          return lbl;
      }
  </code></pre>
  
  <p>But the problem is I am not able to change the width of picker view more than 216.0 if I try to do this there is a black background left.</p>
  
  <p><a href="http://img709.imageshack.us/img709/6982/picture5g.png" rel="nofollow noreferrer">CorrectImage http://img709.imageshack.us/img709/6982/picture5g.png</a>  this is the correct image</p>
  
  <p>Now if I do this</p>
  
  <pre><code>CGRect frame = horizontalPickerView.frame;
                  frame.size.width = 50;
                  frame.size.height = 300;
                  frame.origin.x=120;
                  frame.origin.y = 200;
                  horizontalPickerView.frame = frame;
  
                  horizontalPickerView.transform = CGAffineTransformMakeRotation(3.14159/2);
  </code></pre>
  
  <p>I get this <a href="http://img46.imageshack.us/img46/2792/picture6b.png" rel="nofollow noreferrer">image http://img46.imageshack.us/img46/2792/picture6b.png</a></p>
  
  <p>I have seen the apps like Seelibrity in which the picker has the width to fit the screen.
  Please help me to get out of this problem?</p>