From dedcf4174c8540ee3a912daad2ff13e014e495b1 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期五, 28 三月 2025 16:28:30 +0800
Subject: [PATCH] 优化UI组件;
---
Plugin.TestResult/InfoTable.xaml | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/Plugin.TestResult/InfoTable.xaml b/Plugin.TestResult/InfoTable.xaml
index 6c1d26a..990aa4e 100644
--- a/Plugin.TestResult/InfoTable.xaml
+++ b/Plugin.TestResult/InfoTable.xaml
@@ -31,16 +31,16 @@
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
- <ColumnDefinition Width="1*"/>
- <ColumnDefinition Width="2*"/>
+ <ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1.5*"/>
- <ColumnDefinition Width="2*"/>
+ <ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1.5*"/>
+ <ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
- <Label Grid.Row="0" Grid.Column="0">娓╁害</Label>
+ <Label Grid.Row="0" Grid.Column="0" Content="{DynamicResource Tr.Temperature}"/>
<Label Grid.Row="0" Grid.Column="1" Background="Yellow" Content="{Binding temperatureStr}"/>
- <Label Grid.Row="0" Grid.Column="2">鐘舵��</Label>
+ <Label Grid.Row="0" Grid.Column="2" Content="{DynamicResource Tr.Status}"/>
<Label Grid.Row="0" Grid.Column="3" Content="{Binding statusStr}">
<Label.Style>
<Style TargetType="Label">
@@ -75,14 +75,14 @@
</Style>
</Label.Style>
</Label>
- <Label Grid.Row="0" Grid.Column="4">鑰佸寲鏁伴噺</Label>
+ <Label Grid.Row="0" Grid.Column="4" Content="{DynamicResource Tr.Count}"/>
<Label Grid.Row="0" Grid.Column="5" Background="Yellow" Content="{Binding countStr}"/>
- <Label Grid.Row="1" Grid.Column="0">寮�濮嬫椂闂�</Label>
+ <Label Grid.Row="1" Grid.Column="0" Content="{DynamicResource Tr.StartTime}"/>
<Label Grid.Row="1" Grid.Column="1" Background="Yellow" Content="{Binding startTimeStr}"/>
- <Label Grid.Row="1" Grid.Column="2">宸茶�佸寲鏃堕棿</Label>
+ <Label Grid.Row="1" Grid.Column="2" Content="{DynamicResource Tr.ElapsedTime}"/>
<Label Grid.Row="1" Grid.Column="3" Background="Yellow" Content="{Binding consumeTimeStr}"/>
- <Label Grid.Row="1" Grid.Column="4">棰勮缁撴潫鏃堕棿</Label>
+ <Label Grid.Row="1" Grid.Column="4" Content="{DynamicResource Tr.EstimatedEndTime}"/>
<Label Grid.Row="1" Grid.Column="5" Background="Yellow" Content="{Binding endTimeStr}"/>
</Grid>
</UserControl>
--
Gitblit v1.9.1