• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get small UISegmentedControl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get small UISegmentedControl?


  • Subject: Re: How to get small UISegmentedControl?
  • From: "Henry McGilton (Boulevardier)" <email@hidden>
  • Date: Sat, 13 Feb 2010 16:27:43 -0800

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 (email@hidden)

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:

This email sent to email@hidden

References: 
 >How to get small UISegmentedControl? (From: Laurent Daudelin <email@hidden>)

  • Prev by Date: Re: Validating unique objects in CoreData
  • Next by Date: Re: Validating unique objects in CoreData
  • Previous by thread: How to get small UISegmentedControl?
  • Next by thread: Re: How to get small UISegmentedControl?
  • Index(es):
    • Date
    • Thread