Skip to content

Commit

Permalink
Added DPI scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
Borf committed Dec 17, 2023
1 parent 4691717 commit 5785968
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions browedit/BrowEdit.imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ bool BrowEdit::imguiBegin()
//io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad; // Enable Gamepad Controls
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable; // Enable Docking
io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable; // Enable Multi-Viewport / Platform Windows
io.ConfigFlags |= ImGuiConfigFlags_DpiEnableScaleFonts;
io.ConfigFlags |= ImGuiConfigFlags_DpiEnableScaleViewports;

//io.ConfigViewportsNoAutoMerge = true;
//io.ConfigViewportsNoTaskBarIcon = true;
Expand Down

0 comments on commit 5785968

Please sign in to comment.