From e5d6de90803b08951e52c67306c69546454657d0 Mon Sep 17 00:00:00 2001 From: Jo Kroese Date: Mon, 11 Aug 2025 18:14:18 +0200 Subject: [PATCH] Fix inability to create custom filament due to hidden printer selection checkbox (#10362) Fix clipped printer selection in Create Filament Preset dialog Ensure the scrolled panel in the Create Filament Preset dialog expands vertically by changing `m_main_sizer->Add(..., proportion=0)` to `proportion=1`. This exposes the printer selection checkbox, which is required to create a custom filament. Fixes #6719 Co-authored-by: SoftFever --- 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 8274c004c3..6593b14fe1 100644 --- a/src/slic3r/GUI/CreatePresetsDialog.cpp +++ b/src/slic3r/GUI/CreatePresetsDialog.cpp @@ -681,7 +681,7 @@ CreateFilamentPresetDialog::CreateFilamentPresetDialog(wxWindow *parent) m_scrolled_sizer->Add(create_item(FilamentOptionType::PRESET_FOR_PRINTER), 0, wxEXPAND | wxLEFT | wxRIGHT | wxBOTTOM, FromDIP(5)); m_scrolled_sizer->Add(0, 0, 0, wxTOP, FromDIP(5)); m_scrolled_preset_panel->SetSizerAndFit(m_scrolled_sizer); - m_main_sizer->Add(m_scrolled_preset_panel, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(10)); + m_main_sizer->Add(m_scrolled_preset_panel, 1, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(10)); m_main_sizer->Add(create_dialog_buttons(), 0, wxEXPAND); get_all_visible_printer_name();