chore: Shield yes!

This commit is contained in:
枫雨
2023-04-21 22:21:20 +08:00
parent 393d489321
commit cd6b290c64
2 changed files with 6 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="PallasBrush" Color="#6A6AAB" />
<SolidColorBrush x:Key="PallasBrush" Color="#6969AA" />
<SolidColorBrush x:Key="ErrorViewBackgroundBrush" Color="#E6E6E6" />
<SolidColorBrush x:Key="VersionUpdateViewBackgroundBrush" Color="#ffffff" />
<SolidColorBrush x:Key="MarkdigCodeBrush" Color="LightGray" />

View File

@@ -12,6 +12,7 @@
xmlns:ui="clr-namespace:MaaWpfGui.ViewModels.UI"
xmlns:styles="clr-namespace:MaaWpfGui.Styles"
xmlns:controls="clr-namespace:MaaWpfGui.Styles.Controls"
xmlns:hc="https://handyorg.github.io/handycontrol"
d:DataContext="{d:DesignInstance {x:Type ui:SettingsViewModel}}"
d:DesignHeight="300"
d:DesignWidth="550"
@@ -88,12 +89,14 @@
VerticalAlignment="Center"
InputMethod.IsInputMethodEnabled="False"
Text="{Binding Proxy}" />
<controls:TextBlock
<hc:Shield
Grid.Row="2"
Margin="10"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Text="{Binding VersionInfo, Mode=OneWay}" />
Subject="{DynamicResource Version}"
Status="{Binding VersionId, Mode=OneWay}"
Color="#6969AA"/>
<StackPanel
Grid.Row="3"
Margin="5"