From 2c2ac3999044df9d244a87e5595f74192ad1b200 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Thu, 22 Apr 2021 17:34:17 -0700 Subject: [PATCH] Replace default aui art provide in sim The default art provider was a gradient tab. This does not match the system elsewhere and is particularly bad for dark themes. The simple art provide matches the background colors correctly. Although the tab background is still white, this is quite a bit better than before. Fixes https://gitlab.com/kicad/code/kicad/issues/8280 --- eeschema/sim/sim_plot_frame.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 76bf657e3f..b1954570f9 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -222,6 +222,7 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_toolBar->Realize(); + m_plotNotebook->SetArtProvider( new wxAuiSimpleTabArt() ); m_welcomePanel = new SIM_PANEL_BASE( wxEmptyString, m_plotNotebook, wxID_ANY ); m_plotNotebook->AddPage( m_welcomePanel, _( "Welcome!" ), 1, true );