noch bissl aufgehübscht

This commit is contained in:
OliverT87 2025-06-24 14:52:37 +02:00
parent 961cbd198a
commit 8b1d995b0b

View File

@ -25,6 +25,21 @@
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Foreground" Value="White"/>
</Style>
<!-- Spezielle Styles für Willkommenstext -->
<Style Selector="TextBlock.Welcome">
<Setter Property="FontSize" Value="24"/>
<Setter Property="FontWeight" Value="Normal"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,0,0,10"/>
</Style>
<Style Selector="TextBlock.MainTitle">
<Setter Property="FontSize" Value="32"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,0,0,50"/>
</Style>
</UserControl.Styles>
<Grid>
@ -34,17 +49,22 @@
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!-- Willkommenstext -->
<TextBlock Grid.Row="1"
Text="Periodensystem der Elemente"
FontSize="32"
FontWeight="Bold"
HorizontalAlignment="Center"
Margin="0,0,0,50"/>
Classes="Welcome"
Text="Willkommen beim"/>
<Button Grid.Row="2"
<!-- Haupttitel -->
<TextBlock Grid.Row="2"
Classes="MainTitle"
Text="Periodensystem der Elemente"/>
<Button Grid.Row="3"
Name="PeriodicTableButton"
Click="PeriodicTableButton_Click"
HorizontalAlignment="Center"
@ -52,7 +72,7 @@
<TextBlock Text="Periodensystem anzeigen"/>
</Button>
<Button Grid.Row="3"
<Button Grid.Row="4"
Name="ThemeButton"
Click="ThemeButton_Click"
HorizontalAlignment="Center"
@ -60,7 +80,7 @@
<TextBlock Text="Theme wechseln"/>
</Button>
<Button Grid.Row="4"
<Button Grid.Row="5"
Name="AboutButton"
Click="AboutButton_Click"
HorizontalAlignment="Center"