taskbar style

This commit is contained in:
rmbgame
2021-05-30 23:40:18 +08:00
parent d6f8214fb2
commit abbbbd7e5b
@@ -23,20 +23,21 @@
<ExperimentalAcrylicMaterial TintColor="{DynamicResource BackgroundColorKey}" MaterialOpacity="{ReflectionBinding Value,Source={x:Static ms:UISettings.AcrylicOpacity},Mode=OneWay}" TintOpacity="1"/>
</ExperimentalAcrylicBorder.Material>
</ExperimentalAcrylicBorder>
<StackPanel Spacing="10">
<StackPanel Spacing="8">
<StackPanel.Styles>
<Style Selector="Button">
<Setter Property="Background" Value="Transparent"></Setter>
<Setter Property="HorizontalAlignment" Value="Stretch"></Setter>
<Setter Property="VerticalContentAlignment" Value="Center"></Setter>
<Setter Property="Padding" Value="12,10,12,10"></Setter>
<Setter Property="FontSize" Value="14"></Setter>
<Setter Property="Padding" Value="12,8,12,8"></Setter>
</Style>
<Style Selector="Separator">
<Setter Property="Margin" Value="8 0"></Setter>
</Style>
</StackPanel.Styles>
<DockPanel Margin="0 10 0 0">
<DockPanel Margin="0 8 0 0">
<Image Source="/Application/UI/Assets/Icon.ico" Height="64" Width="64" VerticalAlignment="Center" Margin="10 0" DockPanel.Dock="Left"/>
<!--<Image Source="{ReflectionBinding Path=AvaterPath, Source={x:Static service:UserService.Current},Mode=OneWay,Converter={StaticResource BitmapAssetValueConverter},ConverterParameter=100}"
Stretch="Uniform"
@@ -48,7 +49,7 @@
Foreground="{DynamicResource HighlightForegroundBrushKey}"
FontSize="16"/>
<TextBlock Text="{Binding Path=Version, StringFormat=v{0}, Mode=OneWay}"
Foreground="{DynamicResource HighlightForegroundBrushKey}" FontSize="11"/>
Foreground="{DynamicResource HighlightForegroundBrushKey}" FontSize="12"/>
</StackPanel>
</DockPanel>
<Separator Classes="Separator"/>