1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

Make Transcription ToolBar resizable.

I moved 'Fit()' from ToolBars into MeterToolBar, because it is a workaround for an incorrect size calculation by MeterToolBar.  MeterToolBar is sized as if there is no resizer, so when there is one, the toolbar needs to be expanded (using Fit) to accommodate the resizer.

I also set the min size of MeterToolBar to 150, so that some meter will appear, even if Toolbar shrunk to the minimum.
This commit is contained in:
James Crook
2018-07-21 16:41:32 +01:00
parent f5999954c4
commit 132986de1a
6 changed files with 21 additions and 6 deletions

View File

@@ -586,7 +586,6 @@ void ToolBar::SetDocked( ToolDock *dock, bool pushed )
{
mResizer->Show(dock != NULL);
Layout();
Fit();
}
}