Tweak toolbar button padding
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user