From 4cac1b533e133fdc8b3def90a0f998820f51907a Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期三, 26 三月 2025 17:57:59 +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