Hi Thaddeus,
On Wed, Aug 26, 2015 at 6:20 PM, Thaddeus Cooper
wrote:
> I just checked the documentation and did not see NSSegmentStyleSeparated
> in the list of NSSegmentStyle enums. Here is the list:
>
> enum {
> NSSegmentStyleAutomatic = 0,
> NSSegmentStyleRounded = 1,
>
It is in the documentation, see
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSSegmentedControl_Class/#//apple_ref/c/tdef/NSSegmentStyle
This is the list for 10.10 (copied from NSSegmentedControl.h):
typedef NS_ENUM(NSInteger, NSSegmentStyle) {
I just checked the documentation and did not see NSSegmentStyleSeparated in the
list of NSSegmentStyle enums. Here is the list:
enum {
NSSegmentStyleAutomatic = 0,
NSSegmentStyleRounded = 1,
NSSegmentStyleTexturedRounded = 2,
NSSegmentStyleRoundRect = 3,
NS
Nope, I am still getting the exception.
J.
On Wed, Aug 26, 2015 at 3:31 PM, Ken Thomases wrote:
> On Aug 26, 2015, at 7:04 AM, Jacek Oleksy wrote:
>
>> I want to set NSSegmentStyleSeparated on my NSSegmentedControl
>> (managed by autolayout). However, when I create constraints for the
>> parent
On Aug 26, 2015, at 7:04 AM, Jacek Oleksy wrote:
> I want to set NSSegmentStyleSeparated on my NSSegmentedControl
> (managed by autolayout). However, when I create constraints for the
> parent view, I get an exception:
>
> Assertion failure in -[NSSegmentedControl ns_widgetType],
> /SourceCache/
Hi All,
I want to set NSSegmentStyleSeparated on my NSSegmentedControl
(managed by autolayout). However, when I create constraints for the
parent view, I get an exception:
Assertion failure in -[NSSegmentedControl ns_widgetType],
/SourceCache/AppKit/AppKit-1348.17/Layout.subproj/NSUserInterfaceThe