From a448cff1dfb567843e3d50f0eeed09d1768fd2f6 Mon Sep 17 00:00:00 2001 From: gunlock <1138684+gunlock@users.noreply.github.com> Date: Mon, 30 Jun 2025 14:55:25 -0600 Subject: [PATCH] Fixes #7211 where the CreateFilamentPresetDialog fails to show the printer list due to the dialog not resizing properly. This workaround sets the wxRESIZE_BORDER flag so the dialog can be resized to reveal the printer list. (cherry picked from commit 3f066404903e5f13892c1f37c179a68479669e88) --- src/slic3r/GUI/CreatePresetsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/CreatePresetsDialog.cpp b/src/slic3r/GUI/CreatePresetsDialog.cpp index a20a447764..57305148e9 100644 --- a/src/slic3r/GUI/CreatePresetsDialog.cpp +++ b/src/slic3r/GUI/CreatePresetsDialog.cpp @@ -634,7 +634,7 @@ static void adjust_dialog_in_screen(DPIDialog* dialog) { } CreateFilamentPresetDialog::CreateFilamentPresetDialog(wxWindow *parent) - : DPIDialog(parent ? parent : nullptr, wxID_ANY, _L("Create Filament"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX | wxCENTRE) + : DPIDialog(parent ? parent : nullptr, wxID_ANY, _L("Create Filament"), wxDefaultPosition, wxDefaultSize, wxCAPTION | wxCLOSE_BOX | wxCENTRE | wxRESIZE_BORDER) { m_create_type.base_filament = _L("Create Based on Current Filament"); m_create_type.base_filament_preset = _L("Copy Current Filament Preset ");