I would like to know if there's any way to change the height of a Segment Control, or perhaps changing the font size of the control?
Thanks.
I would like to know if there's any way to change the height of a Segment Control, or perhaps changing the font size of the control?
Thanks.
You can do this only from code, not in InterfaceBuilder. IB tries to stay within Apple's HIG, that's why it does not allow to change the height.
If you change the height (frame) programmatically, you also have to change the image using setImage:forSegmentAtIndex: since the default image looks terrible when streched.
I know this is an old one, and already answered, but for other searching;
I found that changing the style to BAR in the attributes in IB is a very fast and acceptable workaround, which uses a much shorter graphic.