On Feb 13, 2010, at 11:39 AM, Laurent Daudelin wrote:

> Is there anyway to have smaller segmented controls besides the large ones 
> available in IB? I'm talking the size of the one in Settings->General for 
> Location Services. Any idea?


Using Interface Builder's Attributes Inspector, set the style to Bar.
There's a pull-down named Style right at the top of the inspector,
with choices of Plain, Bordered, or Bar . . .

If you're doing it programmatically, do a
  
        [yourControl setSegmentedControlStyle: UISegmentedControlStyleBar];


    Cheers,
        . . . . . . . .    Henry


=================================================
iPhone App Development and Developer Education . . .
        Visit  www.nonatomic-retain.com

Mac OSX Application Development, Plus a Great Deal More . . .
        Visit  www.trilithon.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to