From dedcf4174c8540ee3a912daad2ff13e014e495b1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 28 三月 2025 16:28:30 +0800
Subject: [PATCH] 优化UI组件;
---
WPFProject/PanuonWindow.xaml | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/WPFProject/PanuonWindow.xaml b/WPFProject/PanuonWindow.xaml
index 4e6bdc8..ef1eee4 100644
--- a/WPFProject/PanuonWindow.xaml
+++ b/WPFProject/PanuonWindow.xaml
@@ -12,15 +12,17 @@
WindowState="Maximized"
x:Name="window"
BorderBrush="Transparent"
- Loaded="window_Loaded"
pu:WindowXCaption.Buttons="All"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
xmlns:hc="clr-namespace:HMI.Core;assembly=HMI.Core"
Closed="window_Closed"
+ Topmost="False"
+ Title="TestPlatform"
pu:WindowXCaption.Background="Transparent"
pu:WindowXCaption.Height="80"
- pu:WindowXCaption.Foreground="#FFF" >
+ IsOverlayerVisible="True"
+ pu:WindowXCaption.Foreground="#FFF">
<Window.Resources>
<hc:LangConverter x:Key="lc"/>
<Style x:Key="UserMenu" TargetType="Menu" BasedOn="{StaticResource {x:Static pu:StyleKeys.MenuStyle}}">
@@ -109,7 +111,7 @@
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
- <RowDefinition Height="30"/>
+ <RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<ctl:MainTabControl Grid.Row="0" x:Name="menuTab">
@@ -119,6 +121,6 @@
<!--<ctl:MenuTabControl Grid.Row="1" x:Name="menuTab" OnTabChange="menuTab_OnTabChange"> </ctl:MenuTabControl>-->
- <StatusBar Grid.Row="1" Background="{StaticResource HoriBar}"></StatusBar>
+ <!--<StatusBar Grid.Row="1" Background="{StaticResource HoriBar}"></StatusBar>-->
</Grid>
</pu:WindowX>
--
Gitblit v1.9.1