summaryrefslogtreecommitdiffstats
path: root/macosx/HBAddPresetController.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r--macosx/HBAddPresetController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBAddPresetController.m b/macosx/HBAddPresetController.m
index b29c516c5..79c7f56c2 100644
--- a/macosx/HBAddPresetController.m
+++ b/macosx/HBAddPresetController.m
@@ -288,13 +288,13 @@ static NSTouchBarItemIdentifier HBTouchBarCancel = @"fr.handbrake.addToQueue";
NSCustomTouchBarItem *cancelItem = [[NSCustomTouchBarItem alloc] initWithIdentifier:HBTouchBarAdd];
cancelItem.customizationLabel = NSLocalizedString(@"Cancel", @"Touch bar");
NSButton *cancelButton = [NSButton buttonWithTitle:NSLocalizedString(@"Cancel", @"Touch bar") target:self action:@selector(cancel:)];
- [cancelButton.widthAnchor constraintGreaterThanOrEqualToConstant:200].active = YES;
+ [cancelButton.widthAnchor constraintGreaterThanOrEqualToConstant:160].active = YES;
cancelItem.view = cancelButton;
NSCustomTouchBarItem *addItem = [[NSCustomTouchBarItem alloc] initWithIdentifier:HBTouchBarCancel];
addItem.customizationLabel = NSLocalizedString(@"Add Preset", @"Touch bar");
NSButton *addButton = [NSButton buttonWithTitle:NSLocalizedString(@"Add Preset", @"Touch bar") target:self action:@selector(add:)];
- [addButton.widthAnchor constraintGreaterThanOrEqualToConstant:200].active = YES;
+ [addButton.widthAnchor constraintGreaterThanOrEqualToConstant:160].active = YES;
addButton.keyEquivalent = @"\r";
addItem.view = addButton;