question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RadioButton checked style is gone with simple theme

See original GitHub issue

Describe the bug Cannot see the radio button checked state with simple theme. Works fine in preview 5. A workaround is to do this at init:

await Task.Delay(1);
r1.IsChecked = true;
await Task.Delay(1);
r2.IsChecked = true;
await Task.Delay(1);
r1.IsChecked = true;

To Reproduce Steps to reproduce the behavior:

  1. Create 2 radio buttons.
  2. Run the app. Try selecting one of them.
  3. Checked state is not visible on the checked radio button.

Expected behavior Can see checked state of selected radio button.

Desktop (please complete the following information):

  • OS: Windows
  • Version latest nightly

Additional context AvaloniaApplication.zip

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
TomEdwardsEnscapecommented, Apr 15, 2023

This is the same issue as #11015, a fix is on the way.

0reactions
ivanjxcommented, Apr 19, 2023

if someone else tested the fix from #11015 and it works, feel free to close this issue. i will try to test it later when i have time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to customize default theme of radio button in android?
Declare custom style in your styles. xml file. Apply this style to your RadioButton via android:theme attribute. ListAdapter listAdapter = new ...
Read more >
Pure CSS Custom Styled Radio Buttons
Learn to create custom, cross-browser, theme-able, scalable radio buttons in pure CSS and ensuring styles remain accessible across states.
Read more >
RadioButton Styles and Templates - WPF .NET Framework
This topic describes the styles and templates for the RadioButton control. You can modify the default ControlTemplate to give the control a ...
Read more >
Changing Radio Button/CheckBox Line Weight, Color, Indent
FM14 added "subcomponent" styling for checkbox sets, radio buttons, ... Change the layout theme to "Classic" [Layouts --> Change theme --> Basic -...
Read more >
3 ways to style radio buttons with modern CSS
With some simple and modern CSS, we can now style radio button input elements even easier. Below are three different options, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found