mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Fix: remove extra padding from GCode window (#11871)
This commit is contained in:
@@ -683,7 +683,7 @@ void GCodeViewer::SequentialView::GCodeWindow::render(float top, float bottom, f
|
|||||||
max_text_width = w;
|
max_text_width = w;
|
||||||
}
|
}
|
||||||
|
|
||||||
required_width = id_width + max_text_width + 2.0f * ImGui::GetStyle().WindowPadding.x;
|
required_width = id_width + max_text_width;
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGuiWrapper& imgui = *wxGetApp().imgui();
|
ImGuiWrapper& imgui = *wxGetApp().imgui();
|
||||||
|
|||||||
Reference in New Issue
Block a user