From dedcf4174c8540ee3a912daad2ff13e014e495b1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 28 三月 2025 16:28:30 +0800
Subject: [PATCH] 优化UI组件;

---
 HMI.UI/MaskWindow.xaml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HMI.UI/MaskWindow.xaml b/HMI.UI/MaskWindow.xaml
index 3f3ba87..3364c0d 100644
--- a/HMI.UI/MaskWindow.xaml
+++ b/HMI.UI/MaskWindow.xaml
@@ -9,11 +9,16 @@
         xmlns:pu="https://opensource.panuon.com/wpf-ui"
         pu:WindowXCaption.Buttons="None"
         pu:WindowXCaption.Height="0"
+        ResizeMode="NoResize"
         SizeToContent="WidthAndHeight"
         Height="20"
         CanClose="False"
+        WindowStyle="None"
         x:Name="self"
         WindowStartupLocation="CenterOwner">
+    <WindowChrome.WindowChrome>
+        <WindowChrome GlassFrameThickness="-1"/>
+    </WindowChrome.WindowChrome>
     <Window.Style>
         <Style TargetType="Window">
             <Style.Triggers>
@@ -23,7 +28,6 @@
             </Style.Triggers>
         </Style>
     </Window.Style>
-    
     <Grid>
         <Label x:Name="label" 
                Margin="20"

--
Gitblit v1.9.1