FIX: layout in sidebar

Change-Id: I8f76d4f035c7458b98f285405e01404f2629df65
This commit is contained in:
chunmao.guo 2022-08-01 18:02:16 +08:00 committed by Lane.Wei
parent 179d2ec120
commit f56e9b4b21
7 changed files with 27 additions and 31 deletions

View file

@ -462,8 +462,8 @@ bool OptionsGroup::activate(std::function<void()> throw_if_canceled/* = [](){}*/
else {
// BBS: new layout
::StaticLine* stl = new ::StaticLine(m_parent, false, _(title));
stl->SetFont(wxGetApp().normal_font());
stl->SetForegroundColour("#6B6B6B");
stl->SetFont(Label::Head_14);
stl->SetForegroundColour("#262E30");
sizer = new wxBoxSizer(wxVERTICAL);
if (title.IsEmpty()) {
stl->Hide();