diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index c7a7a9c8e7..d62bc6d814 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -144,6 +144,7 @@ void PrintConfigDef::init_fff_params() def->label = L("Other layers"); def->tooltip = L("Bed temperature for layers after the first one. " "Set this to zero to disable bed temperature control commands in the output."); + def->sidetext = L("°C"); def->full_label = L("Bed temperature"); def->min = 0; def->max = 300; @@ -866,8 +867,10 @@ void PrintConfigDef::init_fff_params() def = this->add("first_layer_bed_temperature", coInts); def->label = L("First layer"); + def->full_label = L("First layer bed temperature"); def->tooltip = L("Heated build plate temperature for the first layer. Set this to zero to disable " "bed temperature control commands in the output."); + def->sidetext = L("°C"); def->max = 0; def->max = 300; def->set_default_value(new ConfigOptionInts { 0 }); @@ -908,8 +911,10 @@ void PrintConfigDef::init_fff_params() def = this->add("first_layer_temperature", coInts); def->label = L("First layer"); + def->full_label = L("First layer extruder temperature"); def->tooltip = L("Extruder temperature for first layer. If you want to control temperature manually " "during print, set this to zero to disable temperature control commands in the output file."); + def->sidetext = L("°C"); def->min = 0; def->max = max_temp; def->set_default_value(new ConfigOptionInts { 200 }); @@ -2071,7 +2076,8 @@ void PrintConfigDef::init_fff_params() def->label = L("Other layers"); def->tooltip = L("Extruder temperature for layers after the first one. Set this to zero to disable " "temperature control commands in the output."); - def->full_label = L("Temperature"); + def->sidetext = L("°C"); + def->full_label = L("Extruder temperature"); def->min = 0; def->max = max_temp; def->set_default_value(new ConfigOptionInts { 200 }); diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 67b135da5d..9fa1d8066c 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -4489,13 +4489,13 @@ bool GLCanvas3D::_render_search_list(float pos_x) const char *s = new char[255]; strcpy(s, search_line.empty() ? _u8L("Type here to search").c_str() : search_line.c_str()); - imgui->search_list(ImVec2(36 * em, 30 * em), &search_string_getter, s, selected, edited); + imgui->search_list(ImVec2(45 * em, 30 * em), &search_string_getter, s, selected, edited); search_line = s; delete [] s; if (edited) - wxGetApp().sidebar().apply_search_filter(); + wxGetApp().sidebar().search_and_apply_tab_search_lines(); if (selected != size_t(-1)) { diff --git a/src/slic3r/GUI/OptionsGroup.cpp b/src/slic3r/GUI/OptionsGroup.cpp index ca26dfe80a..bafcac3a4e 100644 --- a/src/slic3r/GUI/OptionsGroup.cpp +++ b/src/slic3r/GUI/OptionsGroup.cpp @@ -379,6 +379,9 @@ Option ConfigOptionsGroup::get_option(const std::string& opt_key, int opt_index std::pair pair(opt_key, opt_index); m_opt_map.emplace(opt_id, pair); + if (m_show_modified_btns) // fill group and category values just fro options from Settings Tab + wxGetApp().sidebar().get_searcher().add_key(opt_id, title, config_category); + return Option(*m_config->def()->get(opt_key), opt_id); } diff --git a/src/slic3r/GUI/OptionsGroup.hpp b/src/slic3r/GUI/OptionsGroup.hpp index 6c7c8c10d8..6128eb7ab4 100644 --- a/src/slic3r/GUI/OptionsGroup.hpp +++ b/src/slic3r/GUI/OptionsGroup.hpp @@ -12,6 +12,7 @@ #include "Field.hpp" #include "GUI_App.hpp" +#include "I18N.hpp" // Translate the ifdef #ifdef __WXOSX__ @@ -59,7 +60,7 @@ public: m_extra_widgets.push_back(widget); } Line(wxString label, wxString tooltip) : - label(label), label_tooltip(tooltip) {} + label(_(label)), label_tooltip(_(tooltip)) {} const std::vector& get_extra_widgets() const {return m_extra_widgets;} const std::vector