:rotation_light: minor update

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

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

Loading…
Cancel
Save