Commit 8e20a47f authored by Zheng Yile's avatar Zheng Yile
Browse files

Attempt to fit darwin

parent 7cb4f41a
......@@ -19,8 +19,7 @@ if sys.platform == 'win32':
Font['main'].setFamily("Microsoft YaHei")
Font['main'].setPointSize(10)
elif sys.platform == 'darwin':
Font['main'].setFamily("Microsoft YaHei")
Font['main'].setPointSize(13)
pass
else:
Font['main'].setFamily("Microsoft YaHei")
Font['main'].setPointSize(13)
......
......@@ -16,10 +16,6 @@ class Ui_functionWindow(object):
functionWindow.setObjectName("functionWindow")
functionWindow.resize(1000, 720)
functionWindow.setMaximumSize(QtCore.QSize(1000, 720))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
functionWindow.setFont(font)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("favicon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
functionWindow.setWindowIcon(icon)
......
......@@ -16,12 +16,6 @@
<height>720</height>
</size>
</property>
<property name="font">
<font>
<family>Microsoft YaHei</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="windowTitle">
<string>题包列表</string>
</property>
......
......@@ -17,10 +17,6 @@ class Ui_loginWindow(object):
loginWindow.resize(640, 360)
loginWindow.setMinimumSize(QtCore.QSize(0, 0))
loginWindow.setMaximumSize(QtCore.QSize(640, 420))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
loginWindow.setFont(font)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("favicon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
loginWindow.setWindowIcon(icon)
......
......@@ -22,12 +22,6 @@
<height>420</height>
</size>
</property>
<property name="font">
<font>
<family>Microsoft YaHei</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="windowTitle">
<string>欢迎使用Codia——登录</string>
</property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment