diff --git a/src/Avalonia.Controls/TopLevel.cs b/src/Avalonia.Controls/TopLevel.cs index 6327ec122f..78c2868b88 100644 --- a/src/Avalonia.Controls/TopLevel.cs +++ b/src/Avalonia.Controls/TopLevel.cs @@ -777,6 +777,8 @@ namespace Avalonia.Controls _scaling = ValidateScaling(scaling); LayoutHelper.InvalidateSelfAndChildrenMeasure(this); Dispatcher.UIThread.Send(_ => ScalingChanged?.Invoke(this, EventArgs.Empty)); + + InvalidateChildInsetsPadding(); } private void HandleTransparencyLevelChanged(WindowTransparencyLevel transparencyLevel)