In High Contrast them, the selected item in a tab control is not underlined
Closed this issue · 0 comments
dowdybrown commented
In the High Contrast theme, the selected tab item is shown with a white underline (pipe) on a white background, so there is no visible indication of which tab is selected.
- OS: Windows 11
- FluentAvalonia Version: 2.0.5
- Avalonia Version 11.0.9 & 11.0.10
I tried fixing it using a theme dictionary within my test app, but couldn't make it work.
<ResourceDictionary x:Key="{x:Static sty:FluentAvaloniaTheme.HighContrastTheme}">
<SolidColorBrush x:Key="TabItemHeaderSelectedPipeFill" Color="DodgerBlue" />
</ResourceDictionary>
Obviously, you wouldn't place a fixed color here, but probably link it to the system accent color -- but I was just testing.