|
2 | 2 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
3 | 3 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
5 |
| - mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" |
| 5 | + xmlns:gcm="clr-namespace:GitCredentialManager" |
| 6 | + mc:Ignorable="d" d:DesignWidth="300" d:DesignHeight="450" |
6 | 7 | x:Class="GitCredentialManager.UI.Controls.AboutWindow"
|
7 | 8 | Title="About Git Credential Manager"
|
8 | 9 | CanResize="False" Width="300" SizeToContent="Height"
|
| 10 | + x:Name="window" |
9 | 11 | Background="{DynamicResource WindowBackgroundBrush}">
|
10 | 12 | <StackPanel Margin="20">
|
11 | 13 | <Image HorizontalAlignment="Center"
|
12 | 14 | Margin="0,10,0,10"
|
13 |
| - Source="{DynamicResource GcmLogo}" Width="128" Height="128" /> |
| 15 | + Source="{DynamicResource GcmLogo}" Width="64" Height="64" /> |
14 | 16 | <TextBlock HorizontalAlignment="Center"
|
15 | 17 | Margin="0,5"
|
16 |
| - FontWeight="Bold" FontSize="13" |
| 18 | + FontWeight="Bold" FontSize="15" |
17 | 19 | Text="Git Credential Manager" />
|
18 | 20 | <TextBlock HorizontalAlignment="Center"
|
19 |
| - Margin="0,5" |
20 |
| - FontSize="13" TextWrapping="Wrap" TextAlignment="Center" |
| 21 | + FontSize="11" |
| 22 | + Text="{Binding VersionString, ElementName=window}" |
| 23 | + Margin="0,5"/> |
| 24 | + <TextBlock HorizontalAlignment="Center" |
| 25 | + Margin="0,10,0,0" |
| 26 | + FontSize="11" TextWrapping="Wrap" TextAlignment="Center" |
21 | 27 | Text="Secure, cross-platform Git credential storage for popular Git hosting services." />
|
22 | 28 | <Button HorizontalAlignment="Center"
|
23 |
| - Margin="0,5" |
24 |
| - FontSize="12" Classes="hyperlink" |
25 |
| - Content="https://aka.ms/gcm" |
| 29 | + Margin="0,5,0,0" |
| 30 | + Content="{Binding ProjectUrl, ElementName=window}" |
| 31 | + FontSize="11" Classes="hyperlink" |
26 | 32 | Click="ProjectButton_Click"/>
|
27 | 33 | <TextBlock HorizontalAlignment="Center"
|
28 | 34 | Margin="0,10,0,0"
|
|
0 commit comments