From f926f9e00fdbf8fe34b9bcbf31d5de2070fcfde1 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Mon, 7 Aug 2023 10:30:34 +0800 Subject: [PATCH] FIX: change the max length of plate name from 40 to 250 from github user:https://github.com/bambulab/BambuStudio/issues/2119#event-10014273957 Change-Id: I3db2db78f7c870864123789d8ac5eadc31702944 (cherry picked from commit b877284ca8444a76753a5c58ef4d8258990d17c0) --- src/slic3r/GUI/PlateSettingsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PlateSettingsDialog.cpp b/src/slic3r/GUI/PlateSettingsDialog.cpp index 3750b49070..8f3a9445e6 100644 --- a/src/slic3r/GUI/PlateSettingsDialog.cpp +++ b/src/slic3r/GUI/PlateSettingsDialog.cpp @@ -226,7 +226,7 @@ PlateNameEditDialog::PlateNameEditDialog(wxWindow *parent, wxWindowID id, const m_ti_plate_name = new TextInput(this, wxString::FromDouble(0.0), "", "", wxDefaultPosition, wxSize(FromDIP(240), -1), wxTE_PROCESS_ENTER); top_sizer->Add(plate_name_txt, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_LEFT | wxALL, FromDIP(5)); top_sizer->Add(m_ti_plate_name, 0, wxALIGN_CENTER_VERTICAL | wxALIGN_RIGHT | wxALL, FromDIP(5)); - m_ti_plate_name->GetTextCtrl()->SetMaxLength(40); + m_ti_plate_name->GetTextCtrl()->SetMaxLength(250); m_sizer_main->Add(top_sizer, 0, wxEXPAND | wxALL, FromDIP(30));