There was an issue where internal imgui windows are not resized to match the DPI of the owning unreal window when it gets changed. This happens for example when an unreal window is dragged to a new monitor with a different DPI. This commit fixes this problem by ensuring that the DPI from the owning unreal window is used to define the DPI of each IMGUI viewport, and additionally it enables the code path inside IMGUI that resizes the imgui windows when their DPI changes.
There was an issue where internal imgui windows are not resized to match the DPI of the owning unreal window when it gets changed. This happens for example when an unreal window is dragged to a new monitor with a different DPI. This commit fixes this problem by ensuring that the DPI from the owning unreal window is used to define the DPI of each IMGUI viewport, and additionally it enables the code path inside IMGUI that resizes the imgui windows when their DPI changes.