MetaforceInstaller/MetaforceInstaller.UI/MainWindow.axaml
2026-01-01 05:11:23 +05:00

65 lines
No EOL
2.5 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="MetaforceInstaller.UI.MainWindow"
Title="MetaforceInstaller">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SvgImage x:Key="Logo" Source="/Images/logo_red.svg" />
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SvgImage x:Key="Logo" Source="/Images/logo_red.svg" />
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="96" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Image Grid.Row="0"
Margin="20"
VerticalAlignment="Center"
Source="{DynamicResource Logo}"
HorizontalAlignment="Left">
</Image>
<Button Grid.Row="0" Name="NewInstallationButton" Margin="20" VerticalAlignment="Center"
HorizontalAlignment="Right">
+ Add new installation
</Button>
<ScrollViewer Grid.Row="1">
<StackPanel Margin="10">
<Expander Header="Item 1" Margin="0,5" HorizontalAlignment="Stretch">
<TextBlock Text="Content for item 1" Margin="10" />
</Expander>
<Expander Header="Item 2" Margin="0,5" HorizontalAlignment="Stretch">
<TextBlock Text="Content for item 2" Margin="10" />
</Expander>
<Expander Header="Item 3" Margin="0,5" HorizontalAlignment="Stretch">
<TextBlock Text="Content for item 3" Margin="10" />
</Expander>
<Expander Header="Item 4" Margin="0,5" HorizontalAlignment="Stretch">
<TextBlock Text="Content for item 4" Margin="10" />
</Expander>
<Expander Header="Item 5" Margin="0,5" HorizontalAlignment="Stretch">
<TextBlock Text="Content for item 5" Margin="10" />
</Expander>
</StackPanel>
</ScrollViewer>
</Grid>
</Window>