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
b8394238
Commit
b8394238
authored
Jun 22, 2021
by
Zheng Yile
Browse files
Modify codiaclientgui/utils.py
parent
a69f1b84
Changes
1
Hide whitespace changes
Inline
Side-by-side
codiaclientgui/utils.py
View file @
b8394238
...
...
@@ -18,8 +18,13 @@ import sys
if
sys
.
platform
==
'win32'
:
Font
[
'main'
].
setFamily
(
"Microsoft YaHei"
)
Font
[
'main'
].
setPointSize
(
10
)
Font
[
'status'
].
setFamily
(
"SimHei"
)
Font
[
'status'
].
setFamily
(
"FangSong"
)
Font
[
'main'
].
setPointSize
(
9
)
elif
sys
.
platform
==
'darwin'
:
Font
[
'main'
].
setFamily
(
".AppleSystemUIFont"
)
Font
[
'main'
].
setPointSize
(
13
)
Font
[
'status'
].
setFamily
(
".AppleSystemUIFont"
)
Font
[
'main'
].
setPointSize
(
12
)
pass
else
:
Font
[
'main'
].
setFamily
(
"Microsoft YaHei"
)
...
...
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