Fix minimal height on MacOs
This commit is contained in:
parent
552b1a9cb8
commit
53af45a18e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue