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
This commit is contained in:
Seth Hillbrand 2021-04-22 17:34:17 -07:00
parent ecd9bf696e
commit 2c2ac39990
1 changed files with 1 additions and 0 deletions

View File

@ -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 );