From 753f9edfc6d3d20eb28d8aec0feda59d74a79d30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Su=C3=A1rez=20Ruiz?= Date: Wed, 11 May 2022 19:25:42 +0200 Subject: [PATCH] Fix issue in Shapes Transform sample --- .../ShapesGalleries/TransformPlaygroundGallery.xaml | 4 ++-- .../Controls.Sample/Pages/Controls/ShapesPage.xaml | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesGalleries/TransformPlaygroundGallery.xaml b/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesGalleries/TransformPlaygroundGallery.xaml index 28d4a04a9207..6ebabeaab089 100644 --- a/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesGalleries/TransformPlaygroundGallery.xaml +++ b/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesGalleries/TransformPlaygroundGallery.xaml @@ -73,8 +73,8 @@ CenterX="{Binding Source={x:Reference SliderCenterX}, Path=Value}" CenterY="{Binding Source={x:Reference SliderCenterY}, Path=Value}" /> + X="{Binding Source={x:Reference SliderTranslateX}, Path=Value}" + Y="{Binding Source={x:Reference SliderTranslateY}, Path=Value}"/> diff --git a/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesPage.xaml b/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesPage.xaml index acf89eb483b1..b21916043cb9 100644 --- a/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesPage.xaml +++ b/src/Controls/samples/Controls.Sample/Pages/Controls/ShapesPage.xaml @@ -64,7 +64,8 @@ Stroke="Red" StrokeThickness="12" WidthRequest="300" - HeightRequest="20" /> + HeightRequest="20" + HorizontalOptions="Start" />