|
34 | 34 | IsVisible="{OnPlatform True, macOS=False}"/>
|
35 | 35 | </Grid>
|
36 | 36 |
|
37 |
| - <Grid Grid.Row="1" Height="200" ColumnDefinitions="Auto,Auto"> |
| 37 | + <Grid Grid.Row="1" Height="200" ColumnDefinitions="Auto,*"> |
38 | 38 | <Image Grid.Column="0"
|
39 | 39 | Width="200" Height="200"
|
40 | 40 | Margin="8,0"
|
41 | 41 | Source="/App.ico"
|
42 | 42 | HorizontalAlignment="Center"
|
43 | 43 | VerticalAlignment="Center"/>
|
44 | 44 |
|
45 |
| - <StackPanel Grid.Column="1" Orientation="Vertical" VerticalAlignment="Center"> |
46 |
| - <StackPanel Height="40" Orientation="Horizontal"> |
| 45 | + <Grid Grid.Column="1" Margin="0,0,8,0" RowDefinitions="Auto,Auto,Auto,Auto" VerticalAlignment="Center"> |
| 46 | + <StackPanel Grid.Row="0" Height="40" Orientation="Horizontal"> |
47 | 47 | <TextBlock Classes="bold" Text="SourceGit" FontSize="32" />
|
48 | 48 | <Border Margin="12,0,0,0" Height="20"
|
49 | 49 | CornerRadius="10"
|
|
55 | 55 | </Border>
|
56 | 56 | </StackPanel>
|
57 | 57 |
|
58 |
| - <TextBlock Margin="2,4,0,0" Text="{DynamicResource Text.About.SubTitle}" FontSize="16"/> |
| 58 | + <Border Grid.Row="1" Margin="2,4,0,0"> |
| 59 | + <TextBlock Text="{DynamicResource Text.About.SubTitle}" FontSize="16" TextWrapping="Wrap"/> |
| 60 | + </Border> |
59 | 61 |
|
60 |
| - <StackPanel Orientation="Horizontal" Margin="0,8,0,0"> |
| 62 | + <StackPanel Grid.Row="2" Orientation="Horizontal" Margin="0,8,0,0"> |
61 | 63 | <Button Width="18" Height="18" Classes="icon_button" Click="OnVisitWebsite" ToolTip.Tip="https://sourcegit-scm.github.io/">
|
62 | 64 | <Path Width="16" Height="16" Data="{StaticResource Icons.Remotes}"/>
|
63 | 65 | </Button>
|
|
67 | 69 | </Button>
|
68 | 70 | </StackPanel>
|
69 | 71 |
|
70 |
| - <TextBlock x:Name="TxtCopyright" Margin="0,40,0,0" Foreground="{DynamicResource Brush.FG2}"/> |
71 |
| - </StackPanel> |
| 72 | + <TextBlock Grid.Row="3" x:Name="TxtCopyright" Margin="0,40,0,0" Foreground="{DynamicResource Brush.FG2}"/> |
| 73 | + </Grid> |
72 | 74 | </Grid>
|
73 | 75 | </Grid>
|
74 |
| - |
75 |
| - <Window.KeyBindings> |
76 |
| - <KeyBinding Gesture="Escape" Command="{Binding #ThisControl.Close}"/> |
77 |
| - </Window.KeyBindings> |
78 |
| - |
79 | 76 | </v:ChromelessWindow>
|
0 commit comments