Use Fit to size the layer box after sitting min size

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16862
This commit is contained in:
Marek Roszko 2024-02-02 23:42:32 -05:00
parent b354b24182
commit 239cbb4637
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ void PCB_LAYER_BOX_SELECTOR::Resync()
SetMinSize( bestSize );
SetSelection( wxNOT_FOUND );
Fit();
Thaw();
}