mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-15 08:07:41 +02:00
bug 11 follow up: Fix initial width setting on windows (was working with mac/linux)
This commit is contained in:
parent
2672b3a019
commit
f4f4bccbbb
@ -264,12 +264,12 @@ void ToolBar::ReCreateButtons()
|
|||||||
sz.y = ( ( ( sz.y + tbs ) / tbs ) * tbs ) - 1;
|
sz.y = ( ( ( sz.y + tbs ) / tbs ) * tbs ) - 1;
|
||||||
|
|
||||||
// Set the true AND minimum sizes and do final layout
|
// Set the true AND minimum sizes and do final layout
|
||||||
SetInitialSize(sz);
|
|
||||||
if(IsResizable())
|
if(IsResizable())
|
||||||
{// EM: allows narrow Meter Toolbar
|
{// EM: allows narrow Meter Toolbar
|
||||||
sz.SetWidth(GetInitialWidth());
|
sz.SetWidth(GetInitialWidth());
|
||||||
SetMinSize(sz);
|
SetMinSize(sz);
|
||||||
}
|
}
|
||||||
|
SetInitialSize(sz);
|
||||||
Layout();
|
Layout();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user