Layout improvements, depot behavior improvements

This commit is contained in:
2026-06-23 23:24:46 +02:00
parent 1bfac8b222
commit d932761786
11 changed files with 422 additions and 203 deletions

View File

@@ -171,11 +171,13 @@
<Setter Property="Background" Value="{StaticResource CarbonAccent}" />
</Style>
<!-- ── Tabs: smaller headers (Fluent's default is oversized) ──────────── -->
<!-- ── Tabs: smaller headers than Fluent's default, but tall enough that the
green selection pipe at the bottom doesn't touch the label. ─────────── -->
<Style Selector="TabItem">
<Setter Property="FontSize" Value="14" />
<Setter Property="MinHeight" Value="0" />
<Setter Property="Padding" Value="10,6" />
<Setter Property="MinHeight" Value="38" />
<Setter Property="Padding" Value="12,4,12,8" />
<Setter Property="VerticalContentAlignment" Value="Center" />
</Style>
<!-- ── Compact list (tight rows that fill the available space) ─────────── -->
@@ -187,4 +189,14 @@
<Setter Property="MinHeight" Value="0" />
<Setter Property="FontSize" Value="12" />
</Style>
<!-- ── Compact tree (tight scenery rows) ──────────────────────────────── -->
<Style Selector="TreeView.Compact TreeViewItem">
<Setter Property="MinHeight" Value="22" />
<Setter Property="FontSize" Value="12" />
</Style>
<Style Selector="TreeView.Compact TreeViewItem /template/ Border#PART_LayoutRoot">
<Setter Property="MinHeight" Value="22" />
<Setter Property="Padding" Value="4,1" />
</Style>
</Styles>