diff options
author | Damiano Galassi <[email protected]> | 2018-11-15 13:00:25 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-11-15 13:00:25 +0100 |
commit | ba7d33db36abe423aadbd36e91bccdabf25709aa (patch) | |
tree | b6dc9b2c203e2e2f1fd0f90c8232a5ebde6c47e4 /macosx/HBAddPresetController.m | |
parent | 0e1e3726d6178bbf086ea692cbc2c522c4b24a62 (diff) |
MacGui: made some touch bar buttons smaller.
Diffstat (limited to 'macosx/HBAddPresetController.m')
-rw-r--r-- | macosx/HBAddPresetController.m | 4 |
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; |