Skip to content

Commit

Permalink
Merge pull request #256 from deepea/main
Browse files Browse the repository at this point in the history
Fixed DataGrid row mouse click selection
  • Loading branch information
kikipoulet authored Jul 26, 2024
2 parents de57f78 + 037c899 commit df28cfd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions SukiUI/Theme/DataGridStyle.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,15 @@
</Design.PreviewWith>
<Style Selector="DataGridCell">
<Setter Property="Background" Value="Transparent" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Stretch" />
<Setter Property="FontSize" Value="25" />
<Setter Property="Template">
<ControlTemplate>
<Grid Background="{TemplateBinding Background}" ColumnDefinitions="*,Auto">
<ContentPresenter Margin="{TemplateBinding Padding}"
HorizontalAlignment="Center"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="Center"
HorizontalContentAlignment="Center"
VerticalContentAlignment="Center"
Content="{TemplateBinding Content}"
ContentTemplate="{TemplateBinding ContentTemplate}"
TextBlock.Foreground="{TemplateBinding Foreground}" />
Expand Down

0 comments on commit df28cfd

Please sign in to comment.