From 5a07c12b731169ab41e2b629752f71840375ad40 Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Wed, 10 Apr 2024 17:13:48 +0200 Subject: [PATCH] demodocking / hack: all dpi settings to one --- .../hello_imgui_demodocking/hello_imgui_demodocking.main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hello_imgui_demos/hello_imgui_demodocking/hello_imgui_demodocking.main.cpp b/src/hello_imgui_demos/hello_imgui_demodocking/hello_imgui_demodocking.main.cpp index f2422984..06e0ddf8 100644 --- a/src/hello_imgui_demos/hello_imgui_demodocking/hello_imgui_demodocking.main.cpp +++ b/src/hello_imgui_demos/hello_imgui_demodocking/hello_imgui_demodocking.main.cpp @@ -790,6 +790,10 @@ int main(int, char**) //runnerParams.platformBackendType = HelloImGui::PlatformBackendType::Sdl; //runnerParams.rendererBackendType = HelloImGui::RendererBackendType::Vulkan; + //runnerParams.remoteParams.enableRemoting = true; + runnerParams.dpiAwareParams.dpiWindowSizeFactor = 1.0f; + runnerParams.dpiAwareParams.fontRenderingScale = 1.0f; + HelloImGui::Run(runnerParams); // Note: with ImGuiBundle, it is also possible to use ImmApp::Run(...) return 0;