[#44] BaseDataWindow: Add button to add/delete seasons
All checks were successful
Test / Run tests (push) Successful in 2m1s

This commit is contained in:
2024-06-10 20:43:38 +02:00
parent a06921d4ec
commit 3460b9378c
6 changed files with 197 additions and 4 deletions

View File

@ -399,7 +399,7 @@
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ListBox x:Name="SeasonList" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,10,10,10" Grid.RowSpan="2"
<ListBox x:Name="SeasonList" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="10,10,10,40" Grid.RowSpan="2"
SelectionChanged="SeasonList_SelectionChanged">
<ListBox.ItemTemplate>
<DataTemplate>
@ -411,6 +411,12 @@
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<Button x:Name="SeasonAddButton" Content="Neu anlegen..." FontSize="12" Height="25" Grid.Row="2"
VerticalAlignment="Bottom" Margin="10,10,40,10" Padding="0,0,0,0"
Click="SeasonAddButton_Click"/>
<Button x:Name="SeasonRemoveButton" Content="&#xE74D;" FontFamily="Segoe MDL2 Assets" FontSize="16" Grid.Row="2" Height="25" Width="25"
VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="10,10,10,10" Padding="0.5,0,0,0"
Click="SeasonRemoveButton_Click"/>
<Grid Grid.Column="1" Margin="0,10,0,0">
<Grid.ColumnDefinitions>