1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Bug 2393 - Device toolbar cannot be resized smaller after a toolbars reset

This commit is contained in:
Leland Lucius 2020-04-20 16:28:10 -05:00
parent ef659ed822
commit 0e2fd0ec35

View File

@ -568,7 +568,7 @@ void ToolBar::ReCreateButtons()
// JKC we're going to allow all resizable toolbars to be resized
// to 1 unit high, typically 27 pixels.
wxSize sz2 = sz;
sz2.SetWidth(wxMax( sz2.GetX(), GetMinToolbarWidth()));
sz2.SetWidth(GetMinToolbarWidth());
sz2.y = tbs -1;
SetMinSize(sz2);