mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-24 16:01:16 +02:00
Bug 1532 - Toolbars fail to arrange correctly when maximizing or restoring main window size
This commit is contained in:
parent
6478895a39
commit
2f10c1ce25
@ -2052,8 +2052,10 @@ void AudacityProject::UpdateLayout()
|
|||||||
if (!mTrackPanel)
|
if (!mTrackPanel)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
mToolManager->LayoutToolBars();
|
// Layout first to get our new width,
|
||||||
|
// Then and only then we can arrange the toolbars.
|
||||||
Layout();
|
Layout();
|
||||||
|
mToolManager->LayoutToolBars();
|
||||||
|
|
||||||
// Retrieve size of this projects window
|
// Retrieve size of this projects window
|
||||||
wxSize mainsz = GetSize();
|
wxSize mainsz = GetSize();
|
||||||
@ -2107,7 +2109,6 @@ void AudacityProject::RefreshAllTitles(bool bShowProjectNumbers )
|
|||||||
|
|
||||||
void AudacityProject::OnIconize(wxIconizeEvent &event)
|
void AudacityProject::OnIconize(wxIconizeEvent &event)
|
||||||
{
|
{
|
||||||
|
|
||||||
int VisibleProjectCount = 0;
|
int VisibleProjectCount = 0;
|
||||||
|
|
||||||
//JKC: On Iconizing we get called twice. Don't know
|
//JKC: On Iconizing we get called twice. Don't know
|
||||||
|
Loading…
x
Reference in New Issue
Block a user