From af909784547c4f0ea8218ce464f45b3a1b0f4cb7 Mon Sep 17 00:00:00 2001 From: Nicolas Danelon Date: Mon, 1 Jul 2024 07:02:34 -0300 Subject: [PATCH] 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. --- Ladybird/AppKit/UI/TabController.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ladybird/AppKit/UI/TabController.mm b/Ladybird/AppKit/UI/TabController.mm index 93eb93a0c00..37cdcb3d582 100644 --- a/Ladybird/AppKit/UI/TabController.mm +++ b/Ladybird/AppKit/UI/TabController.mm @@ -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; }