• 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: nspopbutton short title possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nspopbutton short title possible?


  • Subject: Re: nspopbutton short title possible?
  • From: Graham Cox <email@hidden>
  • Date: Tue, 19 Jun 2012 14:46:13 +1000

On 19/06/2012, at 2:24 PM, Rick C. wrote:

> Hi again,
>
> Is it not possible somehow to have the title in an nspopbutton to show a shortened version of one of the menu items?  So for example if I have a menu item with the title "Advanced Mode" when choosing it I would like to set the title that shows on the button to "Advanced" but leave the menu item unchanged.  Currently it will add a new menu item named "Advanced."  I have done this before with segmented control but it would be easier to use a popup button if possible.  Thanks,


When you select your advanced mode within the controller, just set the -title: of the popup button to what you want. This will replace the title which is automatically assigned from the menu item.

--Graham



_______________________________________________

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: nspopbutton short title possible?
      • From: "Rick C." <email@hidden>
References: 
 >nspopbutton short title possible? (From: "Rick C." <email@hidden>)

  • Prev by Date: nspopbutton short title possible?
  • Next by Date: Re: nspopbutton short title possible?
  • Previous by thread: nspopbutton short title possible?
  • Next by thread: Re: nspopbutton short title possible?
  • Index(es):
    • Date
    • Thread