Skip to content

Commit

Permalink
Increase labelframe font size.
Browse files Browse the repository at this point in the history
  • Loading branch information
culler committed Dec 24, 2024
1 parent 363577b commit 577e9c8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ def __init__(self):
# The windowBG, groupBG and subgroupBG colors can be used to match Tk objects to
# Ttk containers.
if sys.platform == 'darwin':
labelframe_font = Tk_.font.Font(name="TkSmallCaptionFont",
exists=True)
labelframe_font.configure(size=15)
self.ttk_style.configure('TLabelframe.Label',
font=labelframe_font)
try:
# check if our Tk supports the new semantic colors
test = Tk_._default_root.winfo_rgb('systemWindowBackgroundColor1')
Expand Down

0 comments on commit 577e9c8

Please sign in to comment.