AquaCare/AquaCare.View/TutorialsWindow.axaml
2025-06-16 09:51:22 +02:00

60 lines
2.5 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="AquaCare.View.TutorialsWindow"
Title="Tutorials - Wenns mal nicht klappt"
Width="1280" Height="720"
Icon="Ressourcen/Bilder/ProgrammIcon.ico">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/> <!-- Überschrift -->
<RowDefinition Height="Auto"/> <!-- Buttons für Tutorials -->
<RowDefinition Height="Auto"/> <!-- Tutorial-Inhalt -->
</Grid.RowDefinitions>
<!-- Überschrift -->
<TextBlock Grid.Row="0"
Text="Was kannst du nicht ?"
FontSize="24"
HorizontalAlignment="Center"
Margin="0,5,0,0"/>
<!-- Buttons für Tutorials -->
<StackPanel Grid.Row="1"
Orientation="Horizontal"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="0,5,0,5">
<Button Content="Fische füttern" Width="300" Height="50" Click="FischeFütternClick"/>
<Button Content="Wasser wechseln" Width="300" Height="50" Click="WasserWechselnClick"/>
<Button Content="Filter reinigen" Width="300" Height="50" Click="FilterReinigenClick"/>
</StackPanel>
<!-- Inhalte mittig -->
<StackPanel Grid.Row="2"
HorizontalAlignment="Center"
VerticalAlignment="Top"
Spacing="2">
<!-- StackPanel für Tutorial-Inhalt -->
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" Spacing="5">
<!-- Bild -->
<Image x:Name="tutorialImage" Height="500" Width="500" Stretch="Uniform"/>
<!-- TextBlock für Bildindex -->
<TextBlock x:Name="imageIndexTextBlock"
Text="Bild 1 von 3"
FontSize="18"
HorizontalAlignment="Center"
Margin="0,5,0,5"/>
<!-- Navigation unter dem Bild -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Spacing="2" Margin="0,5,0,0">
<Button Content="Zurück" Click="PreviousImageClick" />
<Button Content="Weiter" Click="NextImageClick" />
</StackPanel>
</StackPanel>
</StackPanel>
</Grid>
</Window>