From c1082f2e3e605ff7855bdfdd4791dfc96aa36c54 Mon Sep 17 00:00:00 2001 From: Filippo Scognamiglio Date: Wed, 10 Dec 2025 00:41:16 +0100 Subject: [PATCH] Fix sizing issues with fractional scaling. --- app/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/main.cpp b/app/main.cpp index d0f3ff2..d1a933b 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -36,6 +36,7 @@ int main(int argc, char *argv[]) // TODO FILIPPO... This should not be hardcoded but handled as a fallback of sort! QQuickStyle::setStyle("Material"); + QGuiApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round); // #if defined (Q_OS_LINUX) // setenv("QSG_RENDER_LOOP", "threaded", 0);