mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 14:39:08 +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
|
// Transfer the bar to the ferry
|
||||||
bar->Reparent(this);
|
bar->Reparent(this);
|
||||||
|
|
||||||
|
// 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());
|
SetMinSize(bar->GetDockedSize());
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// We use a sizer to maintain proper spacing
|
// We use a sizer to maintain proper spacing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user