Skip to content

Commit

Permalink
Merge pull request #116 from ZenithJet/master
Browse files Browse the repository at this point in the history
fix appear too small on high-resolution screens
  • Loading branch information
Neutree committed Dec 17, 2023
2 parents 5b36407 + b53eb50 commit 3560fd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion COMTool/main2.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def loadConfig():
from COMTool.pluginItems import PluginItem
from .widgets import TitleBar, CustomTitleBarWindowMixin, EventFilter, ButtonCombbox, HelpWidget

from PyQt5.QtCore import pyqtSignal, Qt, QRect, QMargins
from PyQt5.QtCore import pyqtSignal, Qt, QRect, QMargins, ,QCoreApplication
from PyQt5.QtWidgets import (QApplication, QWidget,QPushButton,QMessageBox,QDesktopWidget,QMainWindow,
QVBoxLayout,QHBoxLayout,QGridLayout,QTextEdit,QLabel,QRadioButton,QCheckBox,
QLineEdit,QGroupBox,QSplitter,QFileDialog, QScrollArea, QTabWidget, QMenu, QSplashScreen)
Expand Down Expand Up @@ -758,6 +758,7 @@ def main():
'''
ret = 1
try:
QCoreApplication.setAttribute(Qt.AA_EnableHighDpiScaling)
app = QApplication(sys.argv)
splash = Splash(app)
eventFilter = EventFilter()
Expand Down

0 comments on commit 3560fd6

Please sign in to comment.