Increase toolbar button horizontal padding
This commit is contained in:
parent
4361194fd1
commit
123afd5254
|
|
@ -201,7 +201,7 @@ class UIBuilderMixin:
|
||||||
|
|
||||||
def _add_toolbar_button(self, parent, text: str, command) -> None:
|
def _add_toolbar_button(self, parent, text: str, command) -> None:
|
||||||
font = tkfont.Font(root=self.root, family="Segoe UI", size=9)
|
font = tkfont.Font(root=self.root, family="Segoe UI", size=9)
|
||||||
padding_x = 12
|
padding_x = 18
|
||||||
width = font.measure(text) + padding_x * 2
|
width = font.measure(text) + padding_x * 2
|
||||||
height = 28
|
height = 28
|
||||||
radius = 9
|
radius = 9
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue