|
1 | | -<UserControl xmlns="https://github.com/avaloniaui" |
2 | | - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | | - xmlns:l="using:KeyboardSwitch.Settings.Localization" |
4 | | - x:Class="KeyboardSwitch.Settings.Views.AboutView"> |
| 1 | +<UserControl |
| 2 | + xmlns="https://github.com/avaloniaui" |
| 3 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 4 | + xmlns:l="using:KeyboardSwitch.Settings.Localization" |
| 5 | + x:Class="KeyboardSwitch.Settings.Views.AboutView" |
| 6 | +> |
5 | 7 | <StackPanel Margin="20 0"> |
6 | | - <TextBlock Text="{l:Translate KeyboardSwitch}" Margin="10" FontSize="{DynamicResource FontSizeHuge}" /> |
7 | | - <TextBlock Text="{l:Translate CreatedBy}" Margin="10" FontSize="{DynamicResource FontSizeNormal}" /> |
8 | | - <TextBlock x:Name="VersionTextBlock" Margin="10 0 10 10" FontSize="{DynamicResource FontSizeNormal}" /> |
| 8 | + <TextBlock |
| 9 | + Text="{l:Translate KeyboardSwitch}" |
| 10 | + Margin="10" |
| 11 | + FontSize="{DynamicResource FontSizeHuge}" |
| 12 | + /> |
9 | 13 |
|
10 | | - <TextBlock x:Name="NewVersionTextBlock" Margin="10" FontSize="{DynamicResource FontSizeNormal}" /> |
| 14 | + <TextBlock |
| 15 | + Text="{l:Translate CreatedBy}" |
| 16 | + Margin="10" |
| 17 | + FontSize="{DynamicResource FontSizeNormal}" |
| 18 | + /> |
| 19 | + |
| 20 | + <TextBlock |
| 21 | + x:Name="VersionTextBlock" |
| 22 | + Margin="10 0 10 10" |
| 23 | + FontSize="{DynamicResource FontSizeNormal}" |
| 24 | + /> |
| 25 | + |
| 26 | + <TextBlock |
| 27 | + x:Name="NewVersionTextBlock" |
| 28 | + Margin="10" |
| 29 | + FontSize="{DynamicResource FontSizeNormal}" |
| 30 | + /> |
11 | 31 |
|
12 | 32 | <WrapPanel Background="Transparent"> |
13 | | - <Button x:Name="ViewDocsButton" Margin="10 0" Content="{l:Translate ViewDocs}" Classes="accent" |
14 | | - HorizontalAlignment="Left" /> |
| 33 | + <Button |
| 34 | + x:Name="ViewDocsButton" |
| 35 | + Margin="10 0" |
| 36 | + Content="{l:Translate ViewDocs}" |
| 37 | + Classes="accent" |
| 38 | + HorizontalAlignment="Left" |
| 39 | + /> |
15 | 40 |
|
16 | | - <Button x:Name="CheckForUpdatesButton" Content="{l:Translate CheckForUpdates}" Classes="accent" |
17 | | - HorizontalAlignment="Left" /> |
| 41 | + <Button |
| 42 | + x:Name="CheckForUpdatesButton" |
| 43 | + Content="{l:Translate CheckForUpdates}" |
| 44 | + Classes="accent" |
| 45 | + HorizontalAlignment="Left" |
| 46 | + /> |
18 | 47 |
|
19 | | - <Button x:Name="GetNewVersionButton" Content="{l:Translate GetNewVersion}" Classes="accent" |
20 | | - HorizontalAlignment="Left" IsVisible="False" /> |
| 48 | + <Button |
| 49 | + x:Name="GetNewVersionButton" |
| 50 | + Content="{l:Translate GetNewVersion}" |
| 51 | + Classes="accent" |
| 52 | + HorizontalAlignment="Left" |
| 53 | + IsVisible="False" |
| 54 | + /> |
21 | 55 | </WrapPanel> |
22 | 56 |
|
23 | | - <TextBlock x:Name="NoNewVersionsTextBlock" Text="{l:Translate NoNewVersions}" Margin="10" |
24 | | - FontSize="{DynamicResource FontSizeNormal}" IsVisible="False" /> |
| 57 | + <TextBlock |
| 58 | + x:Name="NoNewVersionsTextBlock" |
| 59 | + Text="{l:Translate NoNewVersions}" |
| 60 | + Margin="10" |
| 61 | + FontSize="{DynamicResource FontSizeNormal}" |
| 62 | + IsVisible="False" |
| 63 | + /> |
25 | 64 |
|
26 | | - <TextBlock x:Name="GetNewVersionHintTextBlock" Text="{l:Translate GetNewVersionHint}" Margin="10" |
27 | | - FontSize="{DynamicResource FontSizeNormal}" TextWrapping="Wrap" IsVisible="False" /> |
| 65 | + <TextBlock |
| 66 | + x:Name="GetNewVersionHintTextBlock" |
| 67 | + Text="{l:Translate GetNewVersionHint}" |
| 68 | + Margin="10" |
| 69 | + FontSize="{DynamicResource FontSizeNormal}" |
| 70 | + TextWrapping="Wrap" |
| 71 | + IsVisible="False" |
| 72 | + /> |
28 | 73 | </StackPanel> |
29 | 74 | </UserControl> |
0 commit comments