FIX: background color of title labels in sidebar

Change-Id: If71fdca36518129cdfdd1cdf939fb62592ec56c1
This commit is contained in:
chunmao.guo 2022-08-09 17:33:13 +08:00 committed by Lane.Wei
parent 21d13646d8
commit 43cd7c8315
6 changed files with 12 additions and 23 deletions

View file

@ -352,7 +352,7 @@ void Tab::create_preset_tab()
m_top_sizer->Add( m_search_item, 1, wxALIGN_CENTER_VERTICAL | wxRIGHT , 8 );
if (dynamic_cast<TabPrint*>(this) == nullptr) {
m_static_title = new Label(Label::Body_12, _L("Advance"), m_top_panel);
m_static_title = new Label(m_top_panel, Label::Body_12, _L("Advance"));
m_static_title->Wrap( -1 );
// BBS: open this tab by select first
m_static_title->Bind(wxEVT_LEFT_UP, [this](auto& e) {