Fix: remove extra padding from GCode window (#11871)

This commit is contained in:
Kiss Lorand 2026-01-09 11:02:09 +02:00 committed by GitHub
parent 779f4a890d
commit 0a9cab3991
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();