Update Lotto_Wpf/Lotto_Wpf/MainWindow.xaml

This commit is contained in:
Duy Anh Le 2025-06-11 12:29:09 +02:00
parent 4647e68ad5
commit 051ff111c0

View File

@ -12,7 +12,7 @@
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- ✅ Sidebar with proper Grid.Column -->
<StackPanel Grid.Column="0" Background="#111" Orientation="Vertical"> <StackPanel Grid.Column="0" Background="#111" Orientation="Vertical">
<TextBlock Text="LOTTO" FontSize="16" FontWeight="Bold" <TextBlock Text="LOTTO" FontSize="16" FontWeight="Bold"
Foreground="White" Margin="0,20,0,20" Foreground="White" Margin="0,20,0,20"
@ -22,7 +22,7 @@
<Button Content="Geschichte" FontSize="12" Margin="10" Background="Transparent" Foreground="White"/> <Button Content="Geschichte" FontSize="12" Margin="10" Background="Transparent" Foreground="White"/>
</StackPanel> </StackPanel>
<!-- Main Area --> <!-- Main -->
<StackPanel Grid.Column="1" Margin="20"> <StackPanel Grid.Column="1" Margin="20">
<TextBlock Text="Lotto " FontSize="28" FontWeight="Bold" Foreground="White" Margin="0,0,0,20"/> <TextBlock Text="Lotto " FontSize="28" FontWeight="Bold" Foreground="White" Margin="0,0,0,20"/>
<UniformGrid x:Name="NumberGrid" Rows="7" Columns="7" Margin="0,0,0,20"/> <UniformGrid x:Name="NumberGrid" Rows="7" Columns="7" Margin="0,0,0,20"/>
@ -34,7 +34,6 @@
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
<!-- Inline Code -->
<x:Code> <x:Code>
<![CDATA[ <![CDATA[
using System; using System;