Tweak toolbar button padding
This commit is contained in:
parent
9237e3acd5
commit
191f454561
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue