Skip to content

Commit

Permalink
Fix banner under dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Jan 7, 2024
1 parent 900b80a commit c62ff61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/dialogs/radioboxdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ void RadioBoxDlg::CreateControls(const bool showHelpButton)

auto banner = new wxBannerWindow(this, wxTOP);
banner->SetText(m_bannerLabel, m_bannerDescription);
banner->SetGradient(ColorBrewer::GetColor(Color::White), ColorBrewer::GetColor(Color::AshGrey));
banner->SetGradient(banner->GetBackgroundColour(), ColorContrast::ShadeOrTint(banner->GetBackgroundColour()));

mainSizer->Add(banner, wxSizerFlags().Expand());

Expand Down

0 comments on commit c62ff61

Please sign in to comment.