Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zheng Yile
codiaclient
Commits
29284622
Commit
29284622
authored
Jun 25, 2021
by
曹高翔
Browse files
针对macOS的字体优化:使用苹方-简字体
parent
9bc8071a
Changes
1
Hide whitespace changes
Inline
Side-by-side
codiaclientgui/utils.py
View file @
29284622
...
...
@@ -41,7 +41,7 @@ if sys.platform == 'win32':
Font
[
'status'
].
setPointSize
(
10
)
Style
[
'progressBar'
]
=
"QProgressBar { border: 1px solid grey; border-radius: 2px; text-align: center; background-color: #FFFFFF;}QProgressBar::chunk { background-color: #30A132; width: 10px;}"
elif
sys
.
platform
==
'darwin'
:
Font
[
'main'
].
setFamily
(
"
.AppleSystemUIFont
"
)
Font
[
'main'
].
setFamily
(
"
PingFang SC
"
)
Font
[
'main'
].
setPointSize
(
13
)
Font
[
'status'
].
setFamily
(
".AppleSystemUIFont"
)
Font
[
'status'
].
setPointSize
(
13
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment