How to add text to segmented control in macOS so that it shows up in toolbar in text only mode?
Currently I am created the control like
let tabbar = NSSegmentedControl(labels: ["One", "Two", "Three"], trackingMode: .selectOne, target: self, action: nil)
tabbar.setSelected(true, forSegment: 0)
But if I choose text only from the toolbar, the segmented control disappears. Is it possible to add text to the segments so that it shows up in text only mode of the toolbar?