• 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
Spacing buttons in UIToolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spacing buttons in UIToolbar


  • Subject: Spacing buttons in UIToolbar
  • From: DKJ <email@hidden>
  • Date: Tue, 28 Jul 2009 15:48:51 -0700

I'm using the setToolbarItems:animated: of a UITableViewController to place buttons on the toolbar. If I was using IB, I could space the buttons evenly simply by inserting some flexible-space ones between them. Is there an easy way to do this in code? Or do I need to calculate widths for some blank buttons and insert them into the toolbar items array?

dkj
_______________________________________________

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


  • Follow-Ups:
    • Re: Spacing buttons in UIToolbar
      • From: WT <email@hidden>
  • Prev by Date: cocoa sheet allowing interaction with attached window?
  • Next by Date: Override Font Tool and Colors Tool
  • Previous by thread: cocoa sheet allowing interaction with attached window?
  • Next by thread: Re: Spacing buttons in UIToolbar
  • Index(es):
    • Date
    • Thread