Fix minimal height on MacOs

This commit is contained in:
Filip Sykala - NTB T15p 2023-01-31 15:42:47 +01:00
parent 552b1a9cb8
commit 53af45a18e

View File

@ -973,7 +973,7 @@ void GLGizmoEmboss::initialize()
// calculate window size
const ImGuiStyle &style = ImGui::GetStyle();
float window_title = line_height + 2*style.FramePadding.y;
float window_title = line_height + 2*style.FramePadding.y + 2 * style.WindowTitleAlign.y;
float input_height = line_height_with_spacing + 2*style.FramePadding.y;
float tree_header = line_height_with_spacing;
float separator_height = 1 + style.FramePadding.y;