forked from ocornut/imgui
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
When windows dpi scaling is respected, for example:
static float scale = 1.0;
auto currentMonitorScale = getWindow().getCurrentMonitorContentScale(); // this is glfwGetWindowContentScale()
if (currentMonitorScale.y != scale)
{
ImGui::GetStyle().ScaleAllSizes(currentMonitorScale.y / scale);
ImGui::GetIO().FontGlobalScale = currentMonitorScale.y;
scale = currentMonitorScale.y;
}
Then imguidatechooser ends up rendering a scrollbar which blocks the UI.
Metadata
Metadata
Assignees
Labels
No labels