Open andy-waxman opened 8 months ago
We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.
Does this only happen with a FlexLayout ? Can you try with a StackLayout and see if works as expected and the buttons keep the center alignment?
Thanks
Verified this on VS 17.10.0 Preview 2.0(8.0.7). Project: MauiLayouts.zip
On Android 13.0-API33, Buttons with their labels center aligned become left aligned after the screen has been rotated. On Android 14.0-API34, Buttons with their labels is left aligned after running. This issue doesn't repro on iOS 17.2.
Description
Buttons with their labels center aligned become left aligned after the screen has been rotated and the app is no longer focused
https://github.com/dotnet/maui/assets/6384715/768300d0-c7d8-486d-aee3-3442cdefedba
Steps to Reproduce
Link to public reproduction project repository
https://github.com/andy-waxman/MauiLayouts
Version with bug
8.0.3
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No response
Relevant log output
No response