mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
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)
This commit is contained in:
@@ -634,7 +634,7 @@ static void adjust_dialog_in_screen(DPIDialog* dialog) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CreateFilamentPresetDialog::CreateFilamentPresetDialog(wxWindow *parent)
|
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 = _L("Create Based on Current Filament");
|
||||||
m_create_type.base_filament_preset = _L("Copy Current Filament Preset ");
|
m_create_type.base_filament_preset = _L("Copy Current Filament Preset ");
|
||||||
|
|||||||
Reference in New Issue
Block a user