Skip to content

Commit

Permalink
Set the frame of toolbar segmented control to get correct appearance …
Browse files Browse the repository at this point in the history
…on macOS 10.13
  • Loading branch information
hjuutilainen committed Jun 10, 2021
1 parent 22078c2 commit 7e4e2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MunkiAdmin/MAMunkiAdmin_AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ - (void)createMainWindowToolbar
[manifestsItem setLabel:NSLocalizedString(@"Manifests", @"")];

NSSegmentedControl *segmentedControl = [[NSSegmentedControl alloc] init];
//segmentedControl.frame = NSMakeRect(0, 0, 130, 25);
segmentedControl.frame = NSMakeRect(0, 0, 130, 25);
segmentedControl.segmentStyle = NSSegmentStyleTexturedRounded;
segmentedControl.trackingMode = NSSegmentSwitchTrackingSelectOne;
segmentedControl.segmentCount = 3;
Expand Down

0 comments on commit 7e4e2f9

Please sign in to comment.