From 0a9cab3991c093f208f66f666dfaee1d0e4c8b3e Mon Sep 17 00:00:00 2001 From: Kiss Lorand <50251547+kisslorand@users.noreply.github.com> Date: Fri, 9 Jan 2026 11:02:09 +0200 Subject: [PATCH] Fix: remove extra padding from GCode window (#11871) --- src/slic3r/GUI/GCodeViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GCodeViewer.cpp b/src/slic3r/GUI/GCodeViewer.cpp index f2eaba0bb9..8032a24c07 100644 --- a/src/slic3r/GUI/GCodeViewer.cpp +++ b/src/slic3r/GUI/GCodeViewer.cpp @@ -683,7 +683,7 @@ void GCodeViewer::SequentialView::GCodeWindow::render(float top, float bottom, f 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();