diff --git a/resources/images/printer_sync.svg b/resources/images/printer_sync.svg new file mode 100644 index 000000000..1517f8a76 --- /dev/null +++ b/resources/images/printer_sync.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index a54ac6559..37e2e919d 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -1545,7 +1545,7 @@ Sidebar::Sidebar(Plater *parent) project_config.set_key_value("curr_bed_type", new ConfigOptionEnum(bed_type)); // Sync printer information - auto btn_sync = new Button(p->m_panel_printer_content, _L("Sync printer information"), "ams_nozzle_sync"); + auto btn_sync = new Button(p->m_panel_printer_content, _L("Sync printer information"), "printer_sync", 0, 32); //btn_sync->SetFont(Label::Body_8); btn_sync->SetToolTip(_L("Synchronize nozzle information and the number of AMS")); btn_sync->SetCornerRadius(8); @@ -2366,7 +2366,7 @@ void Sidebar::sys_color_changed() for (wxWindow* win : std::vector{ p->scrolled, p->presets_panel }) wxGetApp().UpdateAllStaticTextDarkUI(win); #endif - p->btn_sync_printer->SetIcon("ams_nozzle_sync"); + p->btn_sync_printer->SetIcon("printer_sync"); // for (wxWindow* btn : std::vector{ p->btn_reslice, p->btn_export_gcode }) // wxGetApp().UpdateDarkUI(btn, true); p->m_printer_icon->msw_rescale(); diff --git a/src/slic3r/GUI/PresetComboBoxes.cpp b/src/slic3r/GUI/PresetComboBoxes.cpp index e680d9c7e..c646bbaaa 100644 --- a/src/slic3r/GUI/PresetComboBoxes.cpp +++ b/src/slic3r/GUI/PresetComboBoxes.cpp @@ -1240,11 +1240,6 @@ void PlaterPresetComboBox::update() } update_selection(); - if (m_type == Preset::TYPE_PRINTER && !selected_system_preset.empty()) { - auto label = GetLabel(); - label.Replace("Bambu Lab ", ""); - SetLabel(label); - } Thaw(); if (!tooltip.IsEmpty()) { diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index ab06ecfea..87477ce2b 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -3189,7 +3189,7 @@ void TabFilament::build() auto optgroup = page->new_optgroup(L("Basic information"), L"param_information"); // Set size as all another fields for a better alignment Option option = optgroup->get_option("filament_type"); - option.opt.width = Field::def_width(); + option.opt.width = Field::def_width_wider(); optgroup->append_single_option_line(option); optgroup->append_single_option_line("filament_vendor"); optgroup->append_single_option_line("filament_soluble");