The buttons at the bottom of a list

  • 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
  • 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      (<Cocoa-dev...>)
    > Help/Unsubscribe/Update your Subscription:
    > http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005%
    > 40gmail.com
    >
    > This email sent to <idiotsavant2005...>
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today