This commit is contained in:
恍兮惚兮 2024-06-24 19:31:11 +08:00
parent 016534cc6a
commit 183a825bdb

View File

@ -144,7 +144,7 @@ class Setting(closeashidewindow):
)
width = 0
fn = QFont()
fn.setPointSize(globalconfig["settingfontsize"] + 2)
fn.setPointSizeF(globalconfig["settingfontsize"] + 2)
fn.setFamily(globalconfig["settingfonttype"])
fm = QFontMetrics(fn)
for title in self.tab_widget.titles: