From b8166f9fb73a544d64616e1ae6ee3010090c4a06 Mon Sep 17 00:00:00 2001 From: yw4z Date: Fri, 2 Oct 2026 15:21:25 +0300 Subject: [PATCH] Update OG_CustomCtrl.cpp --- src/slic3r/GUI/OG_CustomCtrl.cpp | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/slic3r/GUI/OG_CustomCtrl.cpp b/src/slic3r/GUI/OG_CustomCtrl.cpp index 5bb3b52350..696c9f2d65 100644 --- a/src/slic3r/GUI/OG_CustomCtrl.cpp +++ b/src/slic3r/GUI/OG_CustomCtrl.cpp @@ -183,10 +183,11 @@ wxPoint OG_CustomCtrl::get_pos(const Line& line, Field* field_in/* = nullptr*/) wxSize near_label_widget_sz = line.near_label_widget_win->GetSize(); if (field_in) h_pos += near_label_widget_sz.GetWidth() + m_h_gap; - else + else { + h_pos += m_h_gap; // ORCA fixes alignment of checkboxes on Setting Overrides page break; + } } - wxString label = line.label; if (opt_group->label_width != 0) add_label_width(ctrl_line, label, opt_group->label_width * m_em_unit); @@ -784,11 +785,21 @@ void OG_CustomCtrl::CtrlLine::render(wxDC& dc, wxCoord h_pos, wxCoord v_pos) return; } + const std::vector