修复nova资源定义

This commit is contained in:
zhengxuan.zhang
2026-08-06 10:39:58 +08:00
parent 75802fcc40
commit 94505a44c8
+11 -19
View File
@@ -11,36 +11,32 @@
ShowInTaskbar="False"
Topmost="True">
<Grid>
<!-- 背景图(编译为 Resource,随程序集加载,圆角裁剪) -->
<Border CornerRadius="8">
<Border CornerRadius="{StaticResource NovaRadiusSm}">
<Border.Background>
<ImageBrush ImageSource="pack://application:,,,/XplorePlane;component/Assets/Splash_Screen.png" Stretch="Fill"/>
</Border.Background>
</Border>
<!-- 产品名称 -->
<TextBlock Text="XplorePlane"
FontSize="26" FontWeight="Bold" Foreground="White"
FontSize="{StaticResource NovaFontSizeTitleLarge}" FontWeight="Bold" Foreground="White"
HorizontalAlignment="Left" Margin="24,36,0,0"
VerticalAlignment="Top" FontFamily="Segoe UI"/>
<!-- 版本号 -->
<TextBlock x:Name="soft_version" Text="2026.1"
HorizontalAlignment="Left" Margin="24,76,0,0"
VerticalAlignment="Top" Foreground="White"
FontSize="23" LineHeight="22" FontFamily="Arial" Width="116" Height="23"/>
FontSize="{StaticResource NovaFontSizeTitle}" LineHeight="22" FontFamily="Arial" Width="116" Height="23"/>
<TextBlock x:Name="build_version"
Text="正在读取版本..."
HorizontalAlignment="Left" Margin="24,101,0,0"
VerticalAlignment="Top" Foreground="White"
FontSize="12" FontFamily="Arial"/>
FontSize="{StaticResource NovaFontSizeCaption}" FontFamily="Arial"/>
<!-- 版权信息 -->
<TextBlock
Text="© 1998 - 2026 Hexagon Manufacturing Intelligence. All rights reserved. For more details and legal notices, go to hexagon.com"
FontSize="12" Foreground="White" TextWrapping="Wrap"
Text="© 1998 - 2026 Hexagon Manufacturing Intelligence. All rights reserved. For more details and legal notices, go to hexagon.com"
FontSize="{StaticResource NovaFontSizeCaption}" Foreground="White" TextWrapping="Wrap"
HorizontalAlignment="Left" Margin="24,144,0,123" Width="336" FontFamily="Arial"/>
<!-- 底部状态区 -->
<Grid VerticalAlignment="Bottom" Margin="24,0,24,24">
<Grid.RowDefinitions>
@@ -48,28 +44,24 @@
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- 当前加载项文字(滚动显示算子名) -->
<TextBlock x:Name="LoadingItemText" Grid.Row="0" Text="加载算子"
FontSize="12" Foreground="Black"
FontSize="{StaticResource NovaFontSizeCaption}" Foreground="Black"
HorizontalAlignment="Left" Margin="0,0,0,6" FontFamily="Arial"
TextTrimming="CharacterEllipsis" MaxWidth="528"/>
<!-- 进度条背景 + 前景 -->
<Grid Grid.Row="1" HorizontalAlignment="Left" Width="150" Margin="0,0,0,8">
<Rectangle Height="3" Fill="#FF6C6C6C" RadiusX="1.5" RadiusY="1.5"/>
<Rectangle Height="3" Fill="{StaticResource NovaSecondaryBrush}" RadiusX="1.5" RadiusY="1.5"/>
<Rectangle x:Name="ProgressBar" Width="0" Height="3"
Fill="#FF007ACC" HorizontalAlignment="Left"
Fill="{StaticResource NovaInfoBrush}" HorizontalAlignment="Left"
RadiusX="1.5" RadiusY="1.5"/>
</Grid>
<!-- 状态文字 + 进度百分比(并排显示) -->
<StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock x:Name="LoadingText" Text="正在加载..."
FontSize="12" Foreground="Black" FontFamily="Arial"/>
FontSize="{StaticResource NovaFontSizeCaption}" Foreground="Black" FontFamily="Arial"/>
<TextBlock x:Name="ProgressPercentText" Text="0%"
FontSize="12" FontWeight="SemiBold" Foreground="Black"
FontSize="{StaticResource NovaFontSizeCaption}" FontWeight="SemiBold" Foreground="Black"
Margin="8,0,0,0" FontFamily="Arial"/>
</StackPanel>
</Grid>