mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-30 14:20:21 +00:00
UI/AppKit: Disable toolbar mode customization
Currently you can right click on the toolbar for a system contextmenu. When you change the display mode the toolbar goes into a weird smaller state.
This commit is contained in:
parent
c846616d51
commit
5a3b98e0a9
Notes:
github-actions[bot]
2025-05-08 10:24:25 +00:00
Author: https://github.com/bplaat
Commit: 5a3b98e0a9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4649
Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ static NSString* const TOOLBAR_TAB_OVERVIEW_IDENTIFIER = @"ToolbarTabOverviewIde
|
|||
self.toolbar = [[NSToolbar alloc] initWithIdentifier:TOOLBAR_IDENTIFIER];
|
||||
[self.toolbar setDelegate:self];
|
||||
[self.toolbar setDisplayMode:NSToolbarDisplayModeIconOnly];
|
||||
[self.toolbar setAllowsDisplayModeCustomization:NO];
|
||||
[self.toolbar setAllowsUserCustomization:NO];
|
||||
[self.toolbar setSizeMode:NSToolbarSizeModeRegular];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue