From b5311059aa5a5b5977a4f78eb4e4509472b668dc Mon Sep 17 00:00:00 2001 From: tao wang Date: Fri, 22 Jul 2022 20:33:10 +0800 Subject: [PATCH] FIX:printer setting background colour is wrong Change-Id: Ice0e326e01cbd0e4afa5a5858fc7bd1c5894420a --- src/slic3r/GUI/Plater.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 38b75637f..5e0e1d0b8 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -453,6 +453,7 @@ Sidebar::Sidebar(Plater *parent) p->m_text_printer_settings = new wxStaticText(p->m_panel_printer_title, wxID_ANY, _L("Printer"), wxDefaultPosition, wxDefaultSize, 0); p->m_text_printer_settings->Wrap(-1); p->m_text_printer_settings->SetFont(Label::Body_14); + p->m_text_printer_settings->SetBackgroundColour(0xF1F1F1); p->m_printer_setting = new ScalableButton(p->m_panel_printer_title, wxID_ANY, "settings"); p->m_printer_setting->Bind(wxEVT_BUTTON, [this](wxCommandEvent &e) { @@ -546,6 +547,7 @@ Sidebar::Sidebar(Plater *parent) p->m_staticText_filament_settings = new wxStaticText( p->m_panel_filament_title, wxID_ANY, _L("Filament"), wxDefaultPosition, wxDefaultSize, 0 ); p->m_staticText_filament_settings->Wrap( -1 ); p->m_staticText_filament_settings->SetFont(Label::Body_14); + p->m_staticText_filament_settings->SetBackgroundColour(0xF1F1F1); bSizer39->Add(p->m_filament_icon, 0, wxALIGN_CENTER | wxLEFT | wxRIGHT, FromDIP(10)); bSizer39->Add( p->m_staticText_filament_settings, 0, wxALIGN_CENTER ); bSizer39->Add(FromDIP(10), 0, 0, 0, 0);