Re: Icon radio buttons

2018-01-24 Thread Alex Zavatone
> On Jan 24, 2018, at 2:25 PM, Casey McDermott wrote: > > Thanks for all the helpful replies. > > Was this list on hiatus for a month? We sent the question Dec 22 and it > was just posted yesterday. I know that I was excessively useless during that time, but I’m not involved with running the

Re: Re: Icon radio buttons

2018-01-24 Thread Casey McDermott
Thanks for all the helpful replies. Was this list on hiatus for a month? We sent the question Dec 22 and it was just posted yesterday. Fortunately, it was not hard to "roll our own". Probably would have needed that anyhow because the buttons respond differently to double-click. Thanks, Casey

Re: Icon radio buttons

2018-01-24 Thread Steve Christensen
You could manage the button state yourself without a lot of code. @IBOutlet var button1: NSButton// tag = 0 ... @IBOutlet var buttonN: NSButton// tag = N - 1 private var selectedPaletteButtonIndex: Int = 0 private var paletteButtons: [NSButton] override func viewDidLoad() { super.vi

Icon radio buttons

2018-01-23 Thread Casey McDermott
Is there a way to have a palette of icon buttons act like radio buttons, without use of the deprecated NSMatrix? The goal is something like the drawing tool palette in the Sketch sample app (or ancient MacDraw). In IB, it is not possible to add an image to a NSButton with style radio. It automati

Re: icon radio buttons, NSToolbar?

2011-04-18 Thread Lee Ann Rucker
the buttons across > the Preview app's preference window. It seems like a nicer way to do a tabbed > view. > > Is that just an NSToolbar with custom graphics/icons, or is that NSMatrix > with icon radio buttons? Or

Re: icon radio buttons, NSToolbar?

2011-04-18 Thread Peter Lübke
eview app's preference window. It seems like a nicer way to do a tabbed view. Is that just an NSToolbar with custom graphics/icons, or is that NSMatrix with icon radio buttons? Or is it something else entirely? Thanks, Todd ___ Cocoa-d

icon radio buttons, NSToolbar?

2011-04-18 Thread Todd Heberlein
I'm trying to get a row of buttons to look and behave like the buttons across the Preview app's preference window. It seems like a nicer way to do a tabbed view. Is that just an NSToolbar with custom graphics/icons, or is that NSMatrix with icon radio buttons? Or is it something els