From 048ae0264c8f55299d1ae066581410b939e64821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Su=C3=A1rez?= Date: Fri, 17 Mar 2023 19:34:11 +0100 Subject: [PATCH] [Windows] Fix Picker alignment issues (#13516) * Fix Windows Picker alignment issues * Refactoring code * Update src/Controls/samples/Controls.Sample/Pages/Controls/PickerPage.xaml.cs Co-authored-by: Manuel de la Pena * Auto-format source code * Fix build errors * Auto-format source code --------- Co-authored-by: Manuel de la Pena Co-authored-by: GitHub Actions Autoformatter --- .../Pages/Controls/PickerPage.xaml | 31 +++++++++++ .../Pages/Controls/PickerPage.xaml.cs | 40 +++++++++++++- .../Core/HandlerImpl/Picker/Picker.Windows.cs | 13 ++++- .../src/Core/HandlerImpl/Picker/Picker.cs | 3 ++ .../Windows/Extensions/PickerExtensions.cs | 32 +++++++++++ .../net-windows/PublicAPI.Unshipped.txt | 5 ++ .../Elements/Picker/PickerTests.Windows.cs | 53 +++++++++++++++++++ 7 files changed, 175 insertions(+), 2 deletions(-) create mode 100644 src/Controls/src/Core/Platform/Windows/Extensions/PickerExtensions.cs diff --git a/src/Controls/samples/Controls.Sample/Pages/Controls/PickerPage.xaml b/src/Controls/samples/Controls.Sample/Pages/Controls/PickerPage.xaml index 1796901020fe..50916dc0e8d4 100644 --- a/src/Controls/samples/Controls.Sample/Pages/Controls/PickerPage.xaml +++ b/src/Controls/samples/Controls.Sample/Pages/Controls/PickerPage.xaml @@ -83,6 +83,37 @@ Clicked="OnRemoveBindingContextClicked" /> +