mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 18:11:51 +08:00
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…
x
Reference in New Issue
Block a user