thx - notes - programatically adding control
Closed this issue · 1 comments
johndpope commented
KBButton *btn = [[KBButton alloc]initWithFrame:NSMakeRect(self.bounds.size.width - 80, 10, 70, 30)];
btn.bezelStyle = NSSegmentStyleRounded;
btn.title = @"Text";
[[btn cell] setKBButtonType:BButtonTypePrimary];
[self addSubview:btn];