mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
2 files changed
+3
-1
No files matched your search
@@ -24,6 +24,8 @@ def qt_font_to_style(font, color):
|
||||
"""
|
||||
Convert a Qt font to CSS style
|
||||
"""
|
||||
if font is None:
|
||||
font = "TypeWriter,10,-1,5,75,0,0,0,0,0"
|
||||
font_info = font.split(",")
|
||||
style = "font-family: {};font-size: {};".format(font_info[0], font_info[1])
|
||||
if font_info[4] == "75":
|
||||
|
||||
Reference in new issue
Block a user