7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:29:17 +00:00

Fix scrollbars not appearing in Appearance layers panel after board import.

This commit is contained in:
Alex Shvartzkop 2025-02-25 23:39:59 +03:00
parent a4e2d54221
commit f60313367c

View File

@ -1823,7 +1823,7 @@ void APPEARANCE_CONTROLS::rebuildLayers()
m_layersOuterSizer->AddSpacer( 10 );
m_windowLayers->SetBackgroundColour( m_layerPanelColour );
m_windowLayers->Layout();
m_windowLayers->FitInside(); // Updates virtual size to fit subwindows, also auto-layouts.
m_paneLayerDisplayOptions->SetLabel( _( "Layer Display Options" ) );