mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Bug 2120 - Spectral Selection Toolbar can be truncated when undocked
This commit is contained in:
parent
fd0f24e5ff
commit
3ecc5717ad
@ -95,7 +95,15 @@ ToolFrame::ToolFrame
|
||||
|
||||
// Transfer the bar to the ferry
|
||||
bar->Reparent(this);
|
||||
SetMinSize(bar->GetDockedSize());
|
||||
|
||||
// Bug 2120 (comment 6 residual): No need to set a minimum size
|
||||
// if the toolbar is not resizable. On GTK, setting a minimum
|
||||
// size will prevent the frame from shrinking if the toolbar gets
|
||||
// reconfigured and needs to resize smaller.
|
||||
if (bar->IsResizable())
|
||||
{
|
||||
SetMinSize(bar->GetDockedSize());
|
||||
}
|
||||
|
||||
{
|
||||
// We use a sizer to maintain proper spacing
|
||||
|
Loading…
x
Reference in New Issue
Block a user