Skip to content

Commit

Permalink
Stylesheet: Fix font size of special dialogs on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jul 19, 2023
1 parent e756a46 commit c149ee8
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions spyder/utils/stylesheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,27 @@ def _fs(cls):

@classproperty
def TitleFontSize(cls):
return f"{cls._fs + 9}pt" if MAC else f"{cls._fs + 4}pt"
if WIN:
return f"{cls._fs + 6}pt"
elif MAC:
return f"{cls._fs + 9}pt"
else:
return f"{cls._fs + 4}pt"

@classproperty
def ContentFontSize(cls):
return f"{cls._fs + 5}pt" if MAC else f"{cls._fs + 2}pt"
if WIN:
return f"{cls._fs + 4}pt"
elif MAC:
return f"{cls._fs + 5}pt"
else:
return f"{cls._fs + 2}pt"

@classproperty
def ButtonsFontSize(cls):
return f"{cls._fs + 5}pt" if MAC else f"{cls._fs + 3}pt"
if WIN:
return f"{cls._fs + 5}pt"
elif MAC:
return f"{cls._fs + 5}pt"
else:
return f"{cls._fs + 3}pt"

0 comments on commit c149ee8

Please sign in to comment.