FIX: something gui
Change-Id: Ia5ed59d2acca441030a917ae6867cca70bb2231f Jira: STUDIO-9705, STUDIO-9714
This commit is contained in:
parent
1770615144
commit
7bf976babc
|
@ -0,0 +1,10 @@
|
||||||
|
<svg width="33" height="33" viewBox="0 0 33 33" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g clip-path="url(#clip0_20864_22082)">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.2625 6.52839C13.3644 6.52839 10.7571 7.76588 8.93706 9.74469C8.8807 9.80598 8.82509 9.86797 8.77026 9.93066L7.0642 8.43829C7.13145 8.36142 7.19964 8.2854 7.26876 8.21025C9.49998 5.78438 12.7042 4.26172 16.2625 4.26172C21.9679 4.26172 26.7599 8.17288 28.1035 13.4603L29.7967 11.0823L31.6432 12.397L26.2125 20.0242V16.4784C26.2125 10.9832 21.7577 6.52839 16.2625 6.52839ZM5.89404 12.9327V16.4784C5.89404 21.9737 10.3488 26.4285 15.8441 26.4285C18.7421 26.4285 21.3494 25.191 23.1695 23.2122C23.2259 23.1509 23.2815 23.0889 23.3363 23.0262L25.0424 24.5186C24.9751 24.5955 24.9069 24.6715 24.8378 24.7466C22.6066 27.1725 19.4023 28.6952 15.8441 28.6952C10.1386 28.6952 5.34663 24.784 4.00303 19.4966L2.30982 21.8746L0.463379 20.5599L5.89404 12.9327Z" fill="#00AE42"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_20864_22082">
|
||||||
|
<rect width="32" height="32" fill="white" transform="translate(0.0532227 0.476562)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -1545,7 +1545,7 @@ Sidebar::Sidebar(Plater *parent)
|
||||||
project_config.set_key_value("curr_bed_type", new ConfigOptionEnum<BedType>(bed_type));
|
project_config.set_key_value("curr_bed_type", new ConfigOptionEnum<BedType>(bed_type));
|
||||||
|
|
||||||
// Sync printer information
|
// 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->SetFont(Label::Body_8);
|
||||||
btn_sync->SetToolTip(_L("Synchronize nozzle information and the number of AMS"));
|
btn_sync->SetToolTip(_L("Synchronize nozzle information and the number of AMS"));
|
||||||
btn_sync->SetCornerRadius(8);
|
btn_sync->SetCornerRadius(8);
|
||||||
|
@ -2366,7 +2366,7 @@ void Sidebar::sys_color_changed()
|
||||||
for (wxWindow* win : std::vector<wxWindow*>{ p->scrolled, p->presets_panel })
|
for (wxWindow* win : std::vector<wxWindow*>{ p->scrolled, p->presets_panel })
|
||||||
wxGetApp().UpdateAllStaticTextDarkUI(win);
|
wxGetApp().UpdateAllStaticTextDarkUI(win);
|
||||||
#endif
|
#endif
|
||||||
p->btn_sync_printer->SetIcon("ams_nozzle_sync");
|
p->btn_sync_printer->SetIcon("printer_sync");
|
||||||
// for (wxWindow* btn : std::vector<wxWindow*>{ p->btn_reslice, p->btn_export_gcode })
|
// for (wxWindow* btn : std::vector<wxWindow*>{ p->btn_reslice, p->btn_export_gcode })
|
||||||
// wxGetApp().UpdateDarkUI(btn, true);
|
// wxGetApp().UpdateDarkUI(btn, true);
|
||||||
p->m_printer_icon->msw_rescale();
|
p->m_printer_icon->msw_rescale();
|
||||||
|
|
|
@ -1240,11 +1240,6 @@ void PlaterPresetComboBox::update()
|
||||||
}
|
}
|
||||||
|
|
||||||
update_selection();
|
update_selection();
|
||||||
if (m_type == Preset::TYPE_PRINTER && !selected_system_preset.empty()) {
|
|
||||||
auto label = GetLabel();
|
|
||||||
label.Replace("Bambu Lab ", "");
|
|
||||||
SetLabel(label);
|
|
||||||
}
|
|
||||||
Thaw();
|
Thaw();
|
||||||
|
|
||||||
if (!tooltip.IsEmpty()) {
|
if (!tooltip.IsEmpty()) {
|
||||||
|
|
|
@ -3189,7 +3189,7 @@ void TabFilament::build()
|
||||||
auto optgroup = page->new_optgroup(L("Basic information"), L"param_information");
|
auto optgroup = page->new_optgroup(L("Basic information"), L"param_information");
|
||||||
// Set size as all another fields for a better alignment
|
// Set size as all another fields for a better alignment
|
||||||
Option option = optgroup->get_option("filament_type");
|
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(option);
|
||||||
optgroup->append_single_option_line("filament_vendor");
|
optgroup->append_single_option_line("filament_vendor");
|
||||||
optgroup->append_single_option_line("filament_soluble");
|
optgroup->append_single_option_line("filament_soluble");
|
||||||
|
|
Loading…
Reference in New Issue