英文:
.NET Maui radio button text not visible in dark mode?
问题
"Anyone else notice that the RadioButton Content (at least on iOS) ignores the TextColor attribute? In Dark mode it displays the content as white text no matter what I set it to.
Is this a known Maui bug?"
英文:
Anyone else notice that the RadioButton Content (at least on iOS) ignores the TextColor attribute? In Dark mode it displays the content as white text no matter what I set it to.
<RadioButton Content="Black Content Text" TextColor="{AppThemeBinding Light=Black, Dark=Black}" />
Is this a known Maui bug?
答案1
得分: 1
是的,问题出在在Mac或iOS上设置RadioButton
的TextColor
属性时,它未能如预期更改TextColor
,而不仅仅是在深色模式下。总之,这是一个已知的问题,正在以下链接中跟踪,您可以在那里进行跟进。
https://github.com/dotnet/maui/issues/6430
英文:
Yes, it is. The issue is that when setting TextColor
attribute of RadioButton
in Mac or iOS, it failed to change the TextColor
as expected and not just in dark mode. In conclusion, this is a known issue that being tracked in the link below, you can follow up there.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论