Browse Source

android - fix scaling of inset when app is launched (#19797)

release/11.3.8
Emmanuel Hansen 4 months ago
committed by Julien Lebosquain
parent
commit
b426e2e344
  1. 2
      src/Avalonia.Controls/TopLevel.cs

2
src/Avalonia.Controls/TopLevel.cs

@ -776,6 +776,8 @@ namespace Avalonia.Controls
_scaling = ValidateScaling(scaling);
LayoutHelper.InvalidateSelfAndChildrenMeasure(this);
Dispatcher.UIThread.Send(_ => ScalingChanged?.Invoke(this, EventArgs.Empty));
InvalidateChildInsetsPadding();
}
private void HandleTransparencyLevelChanged(WindowTransparencyLevel transparencyLevel)

Loading…
Cancel
Save