Add About dialog and app metadata
This commit is contained in:
101
AboutWindow.xaml
Normal file
101
AboutWindow.xaml
Normal file
@@ -0,0 +1,101 @@
|
||||
<Window x:Class="TaskbarLauncher.AboutWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="About Taskbar Launcher"
|
||||
Height="410"
|
||||
Width="560"
|
||||
ResizeMode="NoResize"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
Background="{DynamicResource AppWindowBrush}"
|
||||
Foreground="{DynamicResource AppTextBrush}">
|
||||
<Grid Margin="22">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="96"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Border Width="76"
|
||||
Height="76"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource AppAccentBrush}"
|
||||
Background="{DynamicResource AppSurfaceBrush}"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top">
|
||||
<Grid>
|
||||
<TextBlock Text="MGET"
|
||||
FontSize="22"
|
||||
FontWeight="Bold"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Foreground="{DynamicResource AppAccentBrush}"/>
|
||||
<Border Height="8"
|
||||
VerticalAlignment="Bottom"
|
||||
Background="{DynamicResource AppAccentBrush}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<StackPanel Grid.Column="1" VerticalAlignment="Center">
|
||||
<TextBlock Text="Taskbar Launcher" FontSize="24" FontWeight="SemiBold"/>
|
||||
<TextBlock Text="Portable Windows launcher for folders, apps, and organized menus."
|
||||
Margin="0,6,0,0"
|
||||
Foreground="{DynamicResource AppMutedTextBrush}"
|
||||
TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
<Border Grid.Row="1"
|
||||
Margin="0,22,0,18"
|
||||
Padding="14"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource AppBorderBrush}"
|
||||
Background="{DynamicResource AppSurfaceBrush}">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="120"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Text="Author" FontWeight="SemiBold" Margin="0,0,12,10"/>
|
||||
<TextBlock x:Name="AuthorText" Grid.Column="1" Margin="0,0,0,10"/>
|
||||
|
||||
<TextBlock Text="Version" Grid.Row="1" FontWeight="SemiBold" Margin="0,0,12,10"/>
|
||||
<TextBlock x:Name="VersionText" Grid.Row="1" Grid.Column="1" Margin="0,0,0,10"/>
|
||||
|
||||
<TextBlock Text="Build" Grid.Row="2" FontWeight="SemiBold" Margin="0,0,12,10"/>
|
||||
<TextBlock x:Name="BuildText" Grid.Row="2" Grid.Column="1" Margin="0,0,0,10"/>
|
||||
|
||||
<TextBlock Text="Config" Grid.Row="3" FontWeight="SemiBold" Margin="0,0,12,10"/>
|
||||
<TextBlock x:Name="ConfigPathText"
|
||||
Grid.Row="3"
|
||||
Grid.Column="1"
|
||||
Margin="0,0,0,10"
|
||||
TextWrapping="Wrap"/>
|
||||
|
||||
<TextBlock Text="Project Site" Grid.Row="4" FontWeight="SemiBold" Margin="0,0,12,0"/>
|
||||
<TextBlock x:Name="ProjectSiteText"
|
||||
Grid.Row="4"
|
||||
Grid.Column="1"
|
||||
TextWrapping="Wrap"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<StackPanel Grid.Row="2" Orientation="Horizontal" HorizontalAlignment="Right">
|
||||
<Button Content="Open Config Folder" Click="OpenConfigFolder_Click" Margin="0,0,8,0"/>
|
||||
<Button Content="Close" Click="Close_Click"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user