-1

I am writing a webpage and sometimes the "picker" wheel on select elements scales the font down so that it can all be read and sometimes it just puts the "..." in the text to shorten it but leaves the size of the font untouched.

Is there a way to specify which method is used? I would like the font size to be scaled appropriately.

Thanks!

J2N
  • 321
  • 4
  • 19

1 Answers1

0

You use the picker data source method that returns a view, not a string. In the view you put a label, and set the font options as you want there:

– pickerView:viewForRow:forComponent:reusingView:
David H
  • 40,852
  • 12
  • 92
  • 138
  • This looks to me like Objective-C. I need to be able to control this in HTML5 and JavaScript. Is this a feature I can set in my HTML page? – J2N Sep 06 '12 at 18:39
  • Ooops- well this is the problem with adding your post to "iOS". – David H Sep 06 '12 at 19:41