From 286b68ce42c5f5ed520b2bcccdb31583f6c8ce28 Mon Sep 17 00:00:00 2001 From: lucas-wilkins Date: Wed, 12 Oct 2022 15:48:36 +0100 Subject: [PATCH 1/2] Fixed scaling issues --- src/sas/qtgui/MainWindow/MainWindow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sas/qtgui/MainWindow/MainWindow.py b/src/sas/qtgui/MainWindow/MainWindow.py index 1545e1086b..d814d24666 100644 --- a/src/sas/qtgui/MainWindow/MainWindow.py +++ b/src/sas/qtgui/MainWindow/MainWindow.py @@ -91,6 +91,7 @@ def run_sasview(): splash = SplashScreen() splash.show() app.setAttribute(Qt.AA_EnableHighDpiScaling) + app.setStyleSheet("* {font-size: 11pt}") # Main application style. #app.setStyle('Fusion') From 71285b1335d38c6b4a2e1ca625680547119a74b4 Mon Sep 17 00:00:00 2001 From: Lucas Wilkins Date: Fri, 14 Oct 2022 02:26:10 +0100 Subject: [PATCH 2/2] Changed font size to 9 --- src/sas/qtgui/MainWindow/MainWindow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sas/qtgui/MainWindow/MainWindow.py b/src/sas/qtgui/MainWindow/MainWindow.py index d814d24666..c8c67072a7 100644 --- a/src/sas/qtgui/MainWindow/MainWindow.py +++ b/src/sas/qtgui/MainWindow/MainWindow.py @@ -91,7 +91,7 @@ def run_sasview(): splash = SplashScreen() splash.show() app.setAttribute(Qt.AA_EnableHighDpiScaling) - app.setStyleSheet("* {font-size: 11pt}") + app.setStyleSheet("* {font-size: 9pt}") # Main application style. #app.setStyle('Fusion')