Before commit
c04eaacb3186b0ea9e499d7a930b10e074134d32, child was added
from left to right by default. but now they are added from top to
bottom.
This patch reverts auto-placement rule to keep backward compatibility.
public static readonly BindableProperty VerticalAlignmentProperty = BindableProperty.CreateAttached("VerticalAlignment", typeof(Alignment), typeof(GridLayout), Alignment.Start, propertyChanged: OnChildPropertyChanged);
private const int CellUndefined = int.MinValue;
- private Orientation gridOrientation = Orientation.Vertical;
+ private Orientation gridOrientation = Orientation.Horizontal;
private int columns = 1;
private int rows = 1;
private float columnSpacing = 0;