feat: Enhance button styles and layout across various views for improved UI consistency

This commit is contained in:
Vladimir
2026-03-22 13:25:16 +02:00
parent 36c2970709
commit f0cbf709b6
7 changed files with 133 additions and 35 deletions
@@ -14,27 +14,31 @@
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<Button Width="170"
Height="130"
Margin="8"
<Button Width="150"
Height="70"
Margin="8,6"
Classes="card"
Background="#B0000000"
BorderBrush="Yellow"
BorderThickness="2"
Command="{Binding DataContext.SelectGroupCommand, RelativeSource={RelativeSource AncestorType=UserControl}}"
CommandParameter="{Binding}">
<StackPanel VerticalAlignment="Center" HorizontalAlignment="Center" Spacing="6">
<Grid RowDefinitions="*,Auto" VerticalAlignment="Center" HorizontalAlignment="Stretch">
<TextBlock Text="{Binding Name}"
Foreground="White"
FontSize="20"
FontWeight="Bold"
FontSize="15"
TextWrapping="Wrap"
HorizontalAlignment="Center"
TextAlignment="Center" />
VerticalAlignment="Center"
TextAlignment="Center"
Margin="4,0" />
<TextBlock Text="{Binding Count}"
Grid.Row="1"
Foreground="White"
FontSize="16"
HorizontalAlignment="Center" />
</StackPanel>
FontSize="10"
HorizontalAlignment="Center"
Margin="0,0,0,2" />
</Grid>
</Button>
</DataTemplate>
</ListBox.ItemTemplate>