From 191f45456155953f6cffeafa624ec8a7771f6e6b Mon Sep 17 00:00:00 2001 From: lm Date: Fri, 17 Oct 2025 15:34:25 +0200 Subject: [PATCH] Tweak toolbar button padding --- app/gui/ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/gui/ui.py b/app/gui/ui.py index 9597d0c..0900629 100644 --- a/app/gui/ui.py +++ b/app/gui/ui.py @@ -200,8 +200,8 @@ class UIBuilderMixin: swatch.bind("", lambda _e: swatch.configure(cursor="arrow")) def _add_toolbar_button(self, parent, text: str, command) -> None: - font = tkfont.Font(root=self.root, family="Segoe UI", size=9) - padding_x = 18 + font = tkfont.Font(root=self.root, family="Segoe UI", size=9) + padding_x = 14 width = font.measure(text) + padding_x * 2 height = 28 radius = 9