Browse Source

Merge pull request #4515 from AvaloniaUI/fixes/fix-caret-default-theme-textbox

Fix Missing CaretBrush on DefaultTheme's TextBox
fixes/caret-index-lost-when-selection-cleared
danwalmsley 6 years ago
committed by GitHub
parent
commit
8a88d21c91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/Avalonia.Themes.Default/TextBox.xaml

1
src/Avalonia.Themes.Default/TextBox.xaml

@ -1,5 +1,6 @@
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="TextBox">
<Setter Property="CaretBrush" Value="{DynamicResource ThemeForegroundBrush}" />
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}"/>
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderMidBrush}"/>
<Setter Property="BorderThickness" Value="{DynamicResource ThemeBorderThickness}"/>

Loading…
Cancel
Save