.NET Maui单选按钮文本在深色模式下不可见吗?

huangapple go评论66阅读模式
英文:

.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

是的,问题出在在MaciOS上设置RadioButtonTextColor属性时,它未能如预期更改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.

https://github.com/dotnet/maui/issues/6430

huangapple
  • 本文由 发表于 2023年2月27日 08:40:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/75575941.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定