Fix Belt Tooltip Spacing and Legend Casing

Drop double spaces in the belt tilt tooltips and match the preview legend header to
the "Belt printer" settings group.
This commit is contained in:
Hanif Koh
2026-09-11 16:01:26 +08:00
parent 9130c08a67
commit 4a5494a07a
2 changed files with 3 additions and 3 deletions

View File

@@ -4906,7 +4906,7 @@ void GCodeViewer::render_legend(float &legend_height, int canvas_width, int canv
ImGui::Spacing(); ImGui::Spacing();
ImGui::Dummy({ window_padding, 0 }); ImGui::Dummy({ window_padding, 0 });
ImGui::SameLine(); ImGui::SameLine();
ImGui::TextColored(ImVec4(0.f, 0.59f, 0.53f, 1.f), "%s", _u8L("Belt Printer").c_str()); ImGui::TextColored(ImVec4(0.f, 0.59f, 0.53f, 1.f), "%s", _u8L("Belt printer").c_str());
ImGui::Dummy({ window_padding, 0 }); ImGui::Dummy({ window_padding, 0 });
ImGui::SameLine(); ImGui::SameLine();
// Checked = show the raw machine-frame G-code (designed/upright view off). Worded to // Checked = show the raw machine-frame G-code (designed/upright view off). Worded to

View File

@@ -5120,7 +5120,7 @@ void TabPrinter::build_fff()
{ {
Line line = { L("Belt tilt"), Line line = { L("Belt tilt"),
L("Belt tilt axis and angle, applied as a mesh rotation before " L("Belt tilt axis and angle, applied as a mesh rotation before "
"slicing. Also drives bed rendering and support gravity tilt. " "slicing. Also drives bed rendering and support gravity tilt. "
"Isometric (no distortion); the back-transform inverts it before " "Isometric (no distortion); the back-transform inverts it before "
"the machine-frame remap.") }; "the machine-frame remap.") };
line.append_option(belt_og->get_option("belt_slice_rotation")); line.append_option(belt_og->get_option("belt_slice_rotation"));
@@ -5175,7 +5175,7 @@ void TabPrinter::build_fff()
{ {
Line line = { L("Machine-frame tilt"), Line line = { L("Machine-frame tilt"),
L("The machine-frame shear (tan) and scale (1/cos) are derived from " L("The machine-frame shear (tan) and scale (1/cos) are derived from "
"the belt tilt angle. Enable 'Decouple' to set an independent " "the belt tilt angle. Enable 'Decouple' to set an independent "
"machine-frame angle when the physical gantry tilt differs from " "machine-frame angle when the physical gantry tilt differs from "
"the slicing rotation.") }; "the slicing rotation.") };
line.append_option(mf->get_option("belt_frame_tilt_decouple")); line.append_option(mf->get_option("belt_frame_tilt_decouple"));