:rotation_light: minor update

pull/1/head
Marc CHEVALDONNE 8 months ago
parent 0237ab97e3
commit eaf1ffc21c

@ -8,7 +8,7 @@ public class MatrixLayout : Layout
= BindableProperty.Create(nameof(NbColumns),
typeof(int),
typeof(MatrixLayout),
10, propertyChanged: OrientationChanged);
10);
public int NbColumns
{
@ -20,7 +20,7 @@ public class MatrixLayout : Layout
= BindableProperty.Create(nameof(NbRows),
typeof(int),
typeof(MatrixLayout),
10, propertyChanged: OrientationChanged);
10);
public int NbRows
{
@ -32,7 +32,7 @@ public class MatrixLayout : Layout
= BindableProperty.Create(nameof(HorizontalSpacing),
typeof(double),
typeof(MatrixLayout),
0.0, propertyChanged: OrientationChanged);
0.0);
public double HorizontalSpacing
{
@ -44,7 +44,7 @@ public class MatrixLayout : Layout
= BindableProperty.Create(nameof(VerticalSpacing),
typeof(double),
typeof(MatrixLayout),
0.0, propertyChanged: OrientationChanged);
0.0);
public double VerticalSpacing
{
@ -56,10 +56,4 @@ public class MatrixLayout : Layout
{
return new MatrixLayoutManager(this);
}
static void OrientationChanged(BindableObject bindable, object oldValue, object newValue)
{
// var layout = bindable as MatrixLayout;
// layout?.InvalidateMeasure();
}
}

Loading…
Cancel
Save