Skip to content

imguidatechooser does not display correctly #69

@aCuria

Description

@aCuria

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.

Example at 350% display scaling
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions