mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: background color of title labels in sidebar
Change-Id: If71fdca36518129cdfdd1cdf939fb62592ec56c1
This commit is contained in:
parent
21d13646d8
commit
43cd7c8315
6 changed files with 12 additions and 23 deletions
|
@ -448,10 +448,7 @@ Sidebar::Sidebar(Plater *parent)
|
|||
p->m_panel_printer_title->SetBackgroundColor2(0xF1F1F1);
|
||||
|
||||
p->m_printer_icon = new ScalableButton(p->m_panel_printer_title, wxID_ANY, "printer");
|
||||
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_text_printer_settings = new Label(p->m_panel_printer_title, _L("Printer"));
|
||||
|
||||
p->m_printer_setting = new ScalableButton(p->m_panel_printer_title, wxID_ANY, "settings");
|
||||
p->m_printer_setting->Bind(wxEVT_BUTTON, [this](wxCommandEvent &e) {
|
||||
|
@ -543,10 +540,7 @@ Sidebar::Sidebar(Plater *parent)
|
|||
wxBoxSizer* bSizer39;
|
||||
bSizer39 = new wxBoxSizer( wxHORIZONTAL );
|
||||
p->m_filament_icon = new ScalableButton(p->m_panel_filament_title, wxID_ANY, "filament");
|
||||
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);
|
||||
p->m_staticText_filament_settings = new Label(p->m_panel_filament_title, _L("Filament"));
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue