RadioButton checked style is gone with simple theme
See original GitHub issueDescribe 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:
- Create 2 radio buttons.
- Run the app. Try selecting one of them.
- 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:
- Created 5 months ago
- Comments:13 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is the same issue as #11015, a fix is on the way.
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.