PlombirLauncher/Launcher-UI/Views/SettingsWindow.axaml

55 lines
1.6 KiB
XML

<Window
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:LauncherGUI.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignWidth="500"
d:DesignHeight="400"
x:Class="LauncherGUI.Views.SettingsWindow"
x:DataType="vm:SettingsWindowViewModel"
Icon="/Assets/icon.png"
Title="Launcher tweaks"
RequestedThemeVariant="Dark"
Width="500"
Height="400"
MinWidth="500"
MinHeight="400"
Background="#353535"
>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock
Grid.Row="0" Grid.ColumnSpan="2"
HorizontalAlignment="Center"
Text="All tweaks can be found in TOML near executable."
FontFamily="{StaticResource QuicksandFont}" />
<StackPanel
Grid.Row="1" Grid.Column="0">
<Button Margin="5" Content="Select minecraft folder" Click="OnFilePickerClick" />
</StackPanel>
<StackPanel Grid.Row="2" Grid.Column="1">
<Image Source="/Assets/toml-paper.png"
Stretch="Uniform"/>
</StackPanel>
</Grid>
</Window>