From ef805f0c5a8cab40507f73974b33f9d38ec3ef72 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 --- 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 09f304f4c..51ce7e954 100644 --- a/src/slic3r/GUI/PlateSettingsDialog.cpp +++ b/src/slic3r/GUI/PlateSettingsDialog.cpp @@ -174,7 +174,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));