Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Radio button circle and text do not align #11117

Open
JesseLiberty opened this issue Jun 18, 2020 · 4 comments
Open

[Bug] Radio button circle and text do not align #11117

JesseLiberty opened this issue Jun 18, 2020 · 4 comments

Comments

@JesseLiberty
Copy link

Description

When using the new Xamarin.Forms experimental radio buttons, the circle does not align with the text.

Steps to Reproduce

  1. Create a pair of radio buttons
  2. Go to the page and view them

Expected Behavior

circle and text align

Actual Behavior

circle and text do not align

Basic Information

  • Version with issue: Xamarin.Forms 4.6.0.726
  • Last known good version:
  • IDE: Visual Studio (Windows)
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices: iOS, Android & UWP

Screenshots

Reproduction Link

Workaround

Putting the radio buttons into a grid and constraining the size of the row forces the alignment

@JesseLiberty JesseLiberty added s/unverified New report that has yet to be verified t/bug 🐛 labels Jun 18, 2020
@pauldipietro pauldipietro added this to New in Triage Jun 18, 2020
@samhouts samhouts added e/3 🕒 3 and removed s/unverified New report that has yet to be verified labels Jun 26, 2020
@samhouts samhouts moved this from New to Ready For Work in Triage Jun 26, 2020
@samhouts samhouts added this to To do in Other Ready For Work Jun 26, 2020
@samhouts samhouts removed this from Ready For Work in Triage Jun 26, 2020
@geeflizz
Copy link

geeflizz commented Jul 9, 2020

I have same problem but on iOS only.
@JesseLiberty can you share your workaround sample? I can't fix it, tried to put buttons in a grid on different rows (with fixed height) - no result.
Thanks.

@kavitap810
Copy link

I also have same problem with IOS only.
@JesseLiberty can you share your workaround sample?

@geosom
Copy link

geosom commented Aug 9, 2020

Hi. I also have the same problem on IOS. For me the bug appears when the Radiobutton is in hidden StackLayout and when the StackLayout become visible the alignment appears broken.

@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts added this to To do in vNext+1 (5.0.0) Aug 13, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
@sereoja
Copy link

sereoja commented Nov 17, 2020

Hi. I also have the same problem on IOS. For me the bug appears when the Radiobutton is in hidden StackLayout and when the StackLayout become visible the alignment appears broken.

Same here, can confirm that the issue is observed on iOS only and when it is under a StackLayout that has initial value IsVisible=false; after this value changes to true, the radiobutton will get offcenter regardless if it is in grid on stacklayout.
I am on latest Forms 4.8.0.1687

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

6 participants