Skip to content

Commit 82790b8

Browse files
committed
在关于此应用页增加了一个封面图
1 parent 5b6e85c commit 82790b8

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

PreLaunchTaskr.GUI.WinUI3/App.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ public partial class App : Application
2323
{
2424
public static string DisplayVersion =>
2525
#if DEBUG
26-
"1.4.2 DEBUG";
26+
"1.4.3 DEBUG";
2727
#else
28-
"1.4.2";
28+
"1.4.3";
2929
#endif
3030

3131
/// <summary>

PreLaunchTaskr.GUI.WinUI3/PreLaunchTaskr.GUI.WinUI3.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
</PropertyGroup>
1717
<ItemGroup>
1818
<Content Remove="Assets\DefaultProgramIcon.png" />
19+
<Content Remove="Assets\PreLaunchTaskrBannerSmallText.png" />
1920
<Content Remove="Assets\PreLaunchTaskrTitle.jpg" />
2021
</ItemGroup>
2122
<ItemGroup>
@@ -83,6 +84,9 @@
8384
<None Update="Assets\DefaultProgramIcon.png">
8485
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
8586
</None>
87+
<None Update="Assets\PreLaunchTaskrBannerSmallText.png">
88+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
89+
</None>
8690
<None Update="Assets\PreLaunchTaskrTitle.jpg">
8791
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
8892
</None>

PreLaunchTaskr.GUI.WinUI3/Views/AboutPage.xaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,16 @@
2121
</Style>
2222
</Page.Resources>
2323

24-
<ScrollView Padding="36">
25-
<StackPanel Grid.Row="1" Spacing="16">
26-
<TextBlock Style="{ThemeResource TitleTextBlockStyle}" Text="关于此应用" />
24+
<ScrollView>
25+
<StackPanel
26+
Grid.Row="1"
27+
Margin="36,0"
28+
Spacing="16">
29+
30+
<StackPanel Margin="0,36,0,0">
31+
<TextBlock Style="{ThemeResource TitleTextBlockStyle}" Text="关于此应用" />
32+
<Image MaxHeight="360" Source="/Assets/PreLaunchTaskrBannerSmallText.png" />
33+
</StackPanel>
2734

2835
<Expander ExpandDirection="Down" IsExpanded="True">
2936

0 commit comments

Comments
 (0)