This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] Xamarin.Forms 5.0: RadioButton content layout on iOS #13374
Labels
Projects
Milestone
Description
In Xamarin.Forms 5.0.0.1558-pre3,
RadioButton
content was left aligned by default on iOS and Android:iOS:
![Simulator Screen Shot - iPhone 11 - 2021-01-12 at 09 52 13](https://user-images.githubusercontent.com/8092460/104301021-14d62f80-54bf-11eb-8851-e93038e18228.png)
Android:
![Screenshot_1610446430](https://user-images.githubusercontent.com/8092460/104301069-215a8800-54bf-11eb-93df-d66a43923181.png)
This is based on the following code, which doesn't set any alignment options:
However, in Xamarin.Forms 5.0.0.1874,
RadioButton
content is centred by default on iOS:On Android, the content is still left-aligned by default.
I tried different pre-releases and the RadioButton content became centred by default on iOS in 5.0.0.1709-pre4.
Steps to Reproduce
Expected Behavior
RadioButton content is left-aligned by default.
Actual Behavior
RadioButton content is centred by default.
Basic Information
Environment
Show/Hide Visual Studio info
Reproduction Link
RadioButtonDemos.zip
Workaround
Set
HorizontalOptions
toStart
:The text was updated successfully, but these errors were encountered: