Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Fix Picker alignment issues #13516

Merged
merged 8 commits into from
Mar 17, 2023
Merged

[Windows] Fix Picker alignment issues #13516

merged 8 commits into from
Mar 17, 2023

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Feb 23, 2023

Description of Change

Fix Windows Picker alignment issues.

fix-picker-layout

To validate the changes can use the added Picker sample to the .NET MAUI Gallery o the added device tests.

Issues Fixed

Fixes #6391

@jsuarezruiz jsuarezruiz added t/bug Something isn't working platform/windows 🪟 legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area-controls-picker Picker labels Feb 23, 2023
@@ -7,6 +7,9 @@ public partial class Picker
{
#if IOS
[PlatformConfiguration.iOSSpecific.Picker.UpdateModeProperty.PropertyName] = MapUpdateMode,
#elif WINDOWS
[nameof(Picker.HorizontalOptions)] = MapHorizontalOptions,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a Draft because I am reviewing why this is necessary in the case of the Picker in Windows.

….xaml.cs

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
@github-actions
Copy link
Contributor

Thank you for your pull request. We are auto-formating your source code to follow our code guidelines.

@jsuarezruiz jsuarezruiz marked this pull request as ready for review March 1, 2023 12:20
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

Thank you for your pull request. We are auto-formating your source code to follow our code guidelines.

@rmarinho rmarinho merged commit 048ae02 into main Mar 17, 2023
@rmarinho rmarinho deleted the fix-6391 branch March 17, 2023 18:34
@Inrego
Copy link

Inrego commented Apr 21, 2023

The same issue seems to apply to DatePicker and TimePicker

@HelenMamalaki
Copy link

HelenMamalaki commented Jul 14, 2023

Setting HorizontalOptions on a Picker doesn't make it FillandExpand - it just stays the normal size it is - the Issue #6391 has been marked as Closed due to this commit - so there is no MAUI issue to follow for updates. Am I missing something?
image

EDIT - I just noticed the 8.0.0 pre-release tag in it - which is part of .NET 8 which isn;t released until Nov and is too unstable too upgrade to just now - seems a bit unfair to Close down issues if they are not available on a stable version of MAUI :(

@github-actions github-actions bot locked and limited conversation to collaborators Dec 12, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@samhouts samhouts added the fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-picker Picker fixed-in-8.0.0-preview.3.8149 Look for this fix in 8.0.0-preview.3.8149! platform/windows 🪟 t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Picker width on Windows not filling container
7 participants