Merge pull request #531 from ghost1372/path-1

fix #530
This commit is contained in:
NaBian 2020-12-02 23:07:37 +08:00 committed by GitHub
commit a5ff21ee91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<ResourceDictionary.MergedDictionaries>
<themes:SharedResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Styles/Base/SeparatorBaseStyle.xaml"/>
<themes:SharedResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Basic/Sizes.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style x:Key="{x:Static StatusBar.SeparatorStyleKey}" BasedOn="{StaticResource SeparatorBaseStyle}" TargetType="Separator"/>
@ -14,4 +15,14 @@
<Setter Property="Background" Value="{DynamicResource RegionBrush}"/>
</Style>
<Style x:Key="StatusBarItemBaseStyle" TargetType="StatusBarItem">
<Setter Property="Foreground" Value="{DynamicResource PrimaryTextBrush}"/>
<Setter Property="Padding" Value="{StaticResource DefaultControlPadding}"/>
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Opacity" Value="0.4"/>
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary>

View File

@ -6,5 +6,5 @@
</ResourceDictionary.MergedDictionaries>
<Style BasedOn="{StaticResource StatusBarBaseStyle}" TargetType="StatusBar"/>
<Style BasedOn="{StaticResource StatusBarItemBaseStyle}" TargetType="StatusBarItem"/>
</ResourceDictionary>