• 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: The buttons at the bottom of a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The buttons at the bottom of a list


  • Subject: Re: The buttons at the bottom of a list
  • From: "I. Savant" <email@hidden>
  • Date: Sun, 15 Oct 2006 10:02:59 -0400

Marcus:

They are called buttons. :-) You can get them by setting their image and alt image to a custom image of your choice.

If you're targeting Tiger or above, setting your button's type (in Interface Builder) to "Small Square Button" will automatically give you a glossy background, but with a border all the way around, which wouldn't give you quite the same look if used on the edges of the window like Mail does.

In Mail, they appear to draw the glossy bar separately, and just use a "Square Button" type with "Bordered" unchecked. The custom image is just the plus sign and gear/arrow with a clear background.

--
I.S.


On Oct 15, 2006, at 6:45 AM, Marcus Karlsson wrote:

Hi.

In applications such as Mail, there is a list on the left with two buttons at the bottom of it. One with a "+" and one with a cog. What are they called and how do I do to create the same thing in my own Cocoa applications?

Marcus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >The buttons at the bottom of a list (From: Marcus Karlsson <email@hidden>)

  • Prev by Date: Drawing outside of drawRect for NSView..
  • Next by Date: Re: Drawing outside of drawRect for NSView..
  • Previous by thread: The buttons at the bottom of a list
  • Next by thread: Drawing outside of drawRect for NSView..
  • Index(es):
    • Date
    • Thread