PDA

View Full Version : Increase the size of UIPickerView




shweta13
Dec 3, 2008, 10:47 PM
Hi all,

I have been trying to increase the width of the spinner/scroller so that the whole text gets displayed, but i am unable to do it. Is there any method or particular delegate I have to use?...

Thanks for ur help.



shweta13
Dec 3, 2008, 11:24 PM
I got the answer:-

Using UIPickerViewDelegate method widthForComponent solved my problem.
Only the thing is, it takes width in the form of number of pixels, so the width I gave was falling short.