mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-17 08:30:06 +02:00
Bug 2393 - Device toolbar cannot be resized smaller after a toolbars reset
This commit is contained in:
parent
ef659ed822
commit
0e2fd0ec35
@ -568,7 +568,7 @@ void ToolBar::ReCreateButtons()
|
|||||||
// JKC we're going to allow all resizable toolbars to be resized
|
// JKC we're going to allow all resizable toolbars to be resized
|
||||||
// to 1 unit high, typically 27 pixels.
|
// to 1 unit high, typically 27 pixels.
|
||||||
wxSize sz2 = sz;
|
wxSize sz2 = sz;
|
||||||
sz2.SetWidth(wxMax( sz2.GetX(), GetMinToolbarWidth()));
|
sz2.SetWidth(GetMinToolbarWidth());
|
||||||
sz2.y = tbs -1;
|
sz2.y = tbs -1;
|
||||||
SetMinSize(sz2);
|
SetMinSize(sz2);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user