UI/AppKit: Make the header buttons more accessible
By Setting setBordered propperty on header buttons to `Yes` this path makes the whole button clickable. Previously the only the icon was clickable, now it's easy to click.
This commit is contained in:
parent
5f06594bbd
commit
af90978454
Notes:
sideshowbarker
2024-07-16 23:05:02 +09:00
Author: https://github.com/nicolasdanelon Commit: https://github.com/LadybirdBrowser/ladybird/commit/af90978454 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/328
1 changed files with 2 additions and 1 deletions
|
@ -379,7 +379,8 @@ static NSString* const TOOLBAR_TAB_OVERVIEW_IDENTIFIER = @"ToolbarTabOverviewIde
|
|||
if (tooltip) {
|
||||
[button setToolTip:tooltip];
|
||||
}
|
||||
[button setBordered:NO];
|
||||
|
||||
[button setBordered:YES];
|
||||
|
||||
return button;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue