From dda335d2cfc1c8ac69f959ba5655fcde720da2a7 Mon Sep 17 00:00:00 2001 From: rinkk <karsten.rink@ufz.de> Date: Wed, 7 Sep 2022 15:20:35 +0200 Subject: [PATCH] Added resolution aware scaling for GUI elements --- Applications/DataExplorer/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Applications/DataExplorer/main.cpp b/Applications/DataExplorer/main.cpp index fa2f3f73b37..22824d9099e 100644 --- a/Applications/DataExplorer/main.cpp +++ b/Applications/DataExplorer/main.cpp @@ -26,6 +26,7 @@ int main(int argc, char* argv[]) auto myOutputWindow = vtkSmartPointer<VtkConsoleOutputWindow>::New(); vtkOutputWindow::SetInstance(myOutputWindow); + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QApplication a(argc, argv); QApplication::setApplicationName("OpenGeoSys - Data Explorer"); QApplication::setApplicationVersion( -- GitLab