Tweak toolbar button padding

This commit is contained in:
lm 2025-10-17 15:34:25 +02:00
parent 9237e3acd5
commit 191f454561
1 changed files with 2 additions and 2 deletions

View File

@ -200,8 +200,8 @@ class UIBuilderMixin:
swatch.bind("<Leave>", 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