Reduce the padding of list rows

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 12:48:33 +00:00
co-authored by Claude Sonnet 5.5
parent f31ee5bc03
commit 7be51b72c7
+19
View File
@@ -48,6 +48,25 @@
<Style Selector="TabItem /template/ Rectangle#PART_SelectedPipe"> <Style Selector="TabItem /template/ Rectangle#PART_SelectedPipe">
<Setter Property="Height" Value="3" /> <Setter Property="Height" Value="3" />
</Style> </Style>
<!-- the Fluent list rows are 32 px tall with 9 px above and below the
text -->
<Style Selector="ListBoxItem">
<Setter Property="MinHeight" Value="0" />
<Setter Property="Padding" Value="6,1" />
</Style>
<Style Selector="ComboBoxItem">
<Setter Property="MinHeight" Value="0" />
<Setter Property="Padding" Value="6,2" />
</Style>
<Style Selector="TreeViewItem">
<Setter Property="MinHeight" Value="0" />
</Style>
<Style Selector="DataGridRow">
<Setter Property="MinHeight" Value="0" />
</Style>
<Style Selector="DataGridCell">
<Setter Property="MinHeight" Value="0" />
</Style>
<Style Selector="Menu"> <Style Selector="Menu">
<Setter Property="Background" Value="{DynamicResource FormBackground}" /> <Setter Property="Background" Value="{DynamicResource FormBackground}" />
</Style> </Style>