mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +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;
|
||||
|
||||
// Set the true AND minimum sizes and do final layout
|
||||
SetInitialSize(sz);
|
||||
if(IsResizable())
|
||||
{// EM: allows narrow Meter Toolbar
|
||||
sz.SetWidth(GetInitialWidth());
|
||||
SetMinSize(sz);
|
||||
}
|
||||
SetInitialSize(sz);
|
||||
Layout();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user