Fix minimal height on MacOs
This commit is contained in:
parent
552b1a9cb8
commit
53af45a18e
@ -973,7 +973,7 @@ void GLGizmoEmboss::initialize()
|
|||||||
|
|
||||||
// calculate window size
|
// calculate window size
|
||||||
const ImGuiStyle &style = ImGui::GetStyle();
|
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 input_height = line_height_with_spacing + 2*style.FramePadding.y;
|
||||||
float tree_header = line_height_with_spacing;
|
float tree_header = line_height_with_spacing;
|
||||||
float separator_height = 1 + style.FramePadding.y;
|
float separator_height = 1 + style.FramePadding.y;
|
||||||
|
Loading…
Reference in New Issue
Block a user