Split button

Discussion in 'Mac Programming' started by davbeck, Jan 8, 2009.

  1. davbeck macrumors regular

    Joined:
    May 16, 2008
    Location:
    Reno, NV
    #1
    Is there any easy way to make a split button like the back/forward buttons in safari and finder?
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    It's an NSSplitView (in Safari) with its style in IB set to Texture Rounded.
     
  3. davbeck thread starter macrumors regular

    Joined:
    May 16, 2008
    Location:
    Reno, NV
    #3
    How is it an NSSplitView? the split view separates two views and has a handle in between that resizes both. I know the button is textured rounded but how do I get the two buttons to go together with a straight line in the middle? No resizing. Surly this is common enough I wouldn't have to create a custom view.
     
  4. davbeck thread starter macrumors regular

    Joined:
    May 16, 2008
    Location:
    Reno, NV
  5. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000

Share This Page