feat: Enhance button styles and layout across various views for improved UI consistency
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user