mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Define and use ShuttleGui::Size
This commit is contained in:
@@ -2089,6 +2089,9 @@ void ShuttleGuiBase::UpdateSizersCore(bool bPrepend, int Flags, bool prompt)
|
||||
else if( mItem.mHasMinSize )
|
||||
mpWind->SetMinSize( mItem.mMinSize );
|
||||
|
||||
if ( mItem.mWindowSize != wxSize{} )
|
||||
mpWind->SetSize( mItem.mWindowSize );
|
||||
|
||||
// Reset to defaults
|
||||
mItem = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user