添加高分屏自适应
This commit is contained in:
@@ -20,6 +20,10 @@ QListView {
|
||||
show-decoration-selected: 1;
|
||||
}
|
||||
|
||||
QWidget {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
"""
|
||||
|
||||
|
||||
@@ -56,6 +60,7 @@ class updata_dlg(QWidget):
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
QCoreApplication.setAttribute(Qt.ApplicationAttribute.AA_EnableHighDpiScaling)
|
||||
app = QApplication(sys.argv)
|
||||
dlg=updata_dlg()
|
||||
dlg.show()
|
||||
|
Reference in New Issue
Block a user