|
8 | 8 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
9 | 9 | xmlns:controls="using:CommunityToolkit.WinUI.Controls" |
10 | 10 | mc:Ignorable="d"> |
11 | | - <StackPanel Spacing="5" Margin="10"> |
12 | | - <controls:SettingsCard |
13 | | - Header="WebView2" |
14 | | - Description="{x:Bind webViewVersion}"> |
15 | | - <Button |
16 | | - Content="复制" |
17 | | - Click="CopyWebViewVersion" /> |
18 | | - </controls:SettingsCard> |
| 11 | + <ScrollView> |
| 12 | + <StackPanel Spacing="5" Margin="10"> |
| 13 | + <controls:SettingsCard |
| 14 | + Header="WebView2" |
| 15 | + Description="{x:Bind webViewVersion}"> |
| 16 | + <Button |
| 17 | + Content="复制" |
| 18 | + Click="CopyWebViewVersion" /> |
| 19 | + </controls:SettingsCard> |
19 | 20 |
|
20 | | - <controls:SettingsCard |
21 | | - Header="应用程序版本" |
22 | | - Description="{x:Bind appVersion}" |
23 | | - Click="CheckUpdate" |
24 | | - IsClickEnabled="True" |
25 | | - IsActionIconVisible="False"> |
26 | | - <Button |
27 | | - Content="复制" |
28 | | - Click="CopyAppVersion" /> |
29 | | - </controls:SettingsCard> |
| 21 | + <controls:SettingsCard |
| 22 | + Header="应用程序版本" |
| 23 | + Description="{x:Bind appVersion}" |
| 24 | + Click="CheckUpdate" |
| 25 | + IsClickEnabled="True" |
| 26 | + IsActionIconVisible="False"> |
| 27 | + <Button |
| 28 | + Content="复制" |
| 29 | + Click="CopyAppVersion" /> |
| 30 | + </controls:SettingsCard> |
30 | 31 |
|
31 | | - <controls:SettingsCard |
32 | | - Header="GitHub 仓库" |
33 | | - Click="OpenRepoWebsite" |
34 | | - IsClickEnabled="True"> |
35 | | - <controls:SettingsCard.ActionIcon> |
36 | | - <FontIcon Glyph="" /> |
37 | | - </controls:SettingsCard.ActionIcon> |
38 | | - </controls:SettingsCard> |
| 32 | + <controls:SettingsCard |
| 33 | + Header="GitHub 仓库" |
| 34 | + Click="OpenRepoWebsite" |
| 35 | + IsClickEnabled="True"> |
| 36 | + <controls:SettingsCard.ActionIcon> |
| 37 | + <FontIcon Glyph="" /> |
| 38 | + </controls:SettingsCard.ActionIcon> |
| 39 | + </controls:SettingsCard> |
39 | 40 |
|
40 | | - <controls:SettingsExpander |
41 | | - Header="开源及第三方软件" |
42 | | - ItemsSource="{x:Bind OpenSources}"> |
43 | | - <controls:SettingsExpander.ItemTemplate> |
44 | | - <DataTemplate x:DataType="local:OpenSource"> |
45 | | - <HyperlinkButton |
| 41 | + <controls:SettingsExpander |
| 42 | + Header="开源及第三方软件" |
| 43 | + ItemsSource="{x:Bind OpenSources}"> |
| 44 | + <controls:SettingsExpander.ItemTemplate> |
| 45 | + <DataTemplate x:DataType="local:OpenSource"> |
| 46 | + <HyperlinkButton |
46 | 47 | Content="{x:Bind Name}" |
47 | 48 | NavigateUri="{x:Bind Uri}" |
48 | 49 | ToolTipService.ToolTip="{x:Bind Uri}" |
49 | 50 | Margin="5" /> |
50 | | - </DataTemplate> |
51 | | - </controls:SettingsExpander.ItemTemplate> |
52 | | - </controls:SettingsExpander> |
53 | | - </StackPanel> |
| 51 | + </DataTemplate> |
| 52 | + </controls:SettingsExpander.ItemTemplate> |
| 53 | + </controls:SettingsExpander> |
| 54 | + </StackPanel> |
| 55 | + </ScrollView> |
| 56 | + |
54 | 57 | </Page> |
0 commit comments