From 966242b8dd12bef14daddac3b62ecfcfb876ffb9 Mon Sep 17 00:00:00 2001 From: "xiangdong.yang" Date: Fri, 26 Aug 2022 18:08:54 +0800 Subject: [PATCH] FIX:Coloring interface optimization Change-Id: I43f7f6e119374a5b2ec6a23ae7e0a6b11942b08f --- src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp b/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp index af6fbaeb4..9fda59a99 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoMmuSegmentation.cpp @@ -391,7 +391,7 @@ void GLGizmoMmuSegmentation::on_render_input_window(float x, float y, float bott std::string item_text = std::to_string(extruder_idx + 1); const ImVec2 label_size = ImGui::CalcTextSize(item_text.c_str(), NULL, true); - const ImVec2 button_size(max_label_size.x + m_imgui->scaled(0.6f),max_label_size.y + m_imgui->scaled(0.55f)); + const ImVec2 button_size(max_label_size.x + m_imgui->scaled(0.5f),0.f); float button_offset = start_pos_x; if (extruder_idx % max_filament_items_per_line != 0) {