From 9211ec11c112e18cd99e77f889a01110a70031ce Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 24 十一月 2025 17:47:15 +0800
Subject: [PATCH] 优化项目结构
---
HMI.UI/Style/MsgBoxStyle.xaml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/HMI.UI/Style/MsgBoxStyle.xaml b/HMI.UI/Style/MsgBoxStyle.xaml
index 1858f41..9bc748d 100644
--- a/HMI.UI/Style/MsgBoxStyle.xaml
+++ b/HMI.UI/Style/MsgBoxStyle.xaml
@@ -5,7 +5,7 @@
xmlns:puconfig="clr-namespace:Panuon.WPF.UI.Configurations;assembly=Panuon.WPF.UI">
<pu:MessageBoxXSettings x:Key="MsgBoxWarn"
- InteropOwnersMask="True"
+ InteropOwnersMask="False"
InverseButtonsSequence="False">
<pu:MessageBoxXSettings.WindowXStyle>
<Style TargetType="pu:WindowX" BasedOn="{StaticResource {x:Static pu:MessageBoxX.WindowXStyleKey}}">
@@ -44,7 +44,7 @@
</pu:MessageBoxXSettings>
<pu:MessageBoxXSettings x:Key="MsgBoxError"
- InteropOwnersMask="True"
+ InteropOwnersMask="False"
InverseButtonsSequence="False">
<pu:MessageBoxXSettings.WindowXStyle>
<Style TargetType="pu:WindowX" BasedOn="{StaticResource {x:Static pu:MessageBoxX.WindowXStyleKey}}">
@@ -83,7 +83,7 @@
</pu:MessageBoxXSettings>
<pu:MessageBoxXSettings x:Key="MsgBoxInfo"
- InteropOwnersMask="True"
+ InteropOwnersMask="False"
InverseButtonsSequence="False">
<pu:MessageBoxXSettings.WindowXStyle>
<Style TargetType="pu:WindowX" BasedOn="{StaticResource {x:Static pu:MessageBoxX.WindowXStyleKey}}">
@@ -124,6 +124,7 @@
<pu:ToastSetting x:Key="toastSuccess" Spacing="25">
<pu:ToastSetting.LabelStyle>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
+ <Setter Property="FontSize" Value="18" />
<Setter Property="Background" Value="{StaticResource SuccessColor}" />
<Setter Property="Foreground" Value="{StaticResource SuccessColorContrast}" />
</Style>
@@ -133,6 +134,7 @@
<pu:ToastSetting x:Key="toastWarning" Spacing="25">
<pu:ToastSetting.LabelStyle>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
+ <Setter Property="FontSize" Value="18" />
<Setter Property="Background" Value="{StaticResource WarningColor}" />
<Setter Property="Foreground" Value="{StaticResource SuccessColorContrast}" />
</Style>
@@ -142,6 +144,7 @@
<pu:ToastSetting x:Key="toastError" Spacing="25">
<pu:ToastSetting.LabelStyle>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static pu:Toast.LabelStyleKey}}">
+ <Setter Property="FontSize" Value="18" />
<Setter Property="Background" Value="{StaticResource DangerColor}" />
<Setter Property="Foreground" Value="{StaticResource DangerColorContrast}" />
</Style>
--
Gitblit v1.9.1