The AutoLayout control seems to arrange children with Margin properties differently than StackPanel and Grid. In scenarios where elements have defined margins, AutoLayout does not produce the same alignment and spacing results as the other two containers.
As seen in the attached image below, with identical child elements and margin configurations, AutoLayout handles margins in a way that varies from StackPanel and Grid.
Expected behavior
[!WARNING]
Potentially an issue with AutoLayout ? To confirm first!
How to reproduce it (as minimally and precisely as possible)
Current behavior
The
AutoLayout
control seems to arrange children withMargin
properties differently thanStackPanel
andGrid
. In scenarios where elements have defined margins,AutoLayout
does not produce the same alignment and spacing results as the other two containers.As seen in the attached image below, with identical child elements and margin configurations,
AutoLayout
handles margins in a way that varies fromStackPanel
andGrid
.Expected behavior
How to reproduce it (as minimally and precisely as possible)
Sample app to repro: UnoAutoLayoutTests.zip
Nuget Package: Uno.Sdk 5.5.32
Affected platform(s): Same behavior on all platform, including Windows
IDE: Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.11.5