feat(ui): folders slide open and closed, rows below follow

This commit is contained in:
mika kuns
2026-09-30 10:25:17 +02:00
parent 928e3905d9
commit 2be8ba5d66
5 changed files with 108 additions and 23 deletions
-13
View File
@@ -867,19 +867,6 @@
<Setter Property="BorderBrush" Value="Transparent" />
</Style>
<!-- Folder tree rows sit tighter than the smart lists — a deep tree gets long fast. -->
<!-- Folder expand: children drop down from under the header. Collapse stays instant. -->
<Style Selector="Panel.folder-children">
<Setter Property="RenderTransformOrigin" Value="50%,0%" />
<Setter Property="RenderTransform" Value="scaleY(1)" />
</Style>
<Style Selector="Panel.folder-children.animate[IsVisible=True]">
<Style.Animations>
<Animation Duration="0:0:0.16" Easing="CubicEaseOut" FillMode="Forward">
<KeyFrame Cue="0%"> <Setter Property="ScaleTransform.ScaleY" Value="0.4"/><Setter Property="Opacity" Value="0"/></KeyFrame>
<KeyFrame Cue="100%"><Setter Property="ScaleTransform.ScaleY" Value="1"/><Setter Property="Opacity" Value="1"/></KeyFrame>
</Animation>
</Style.Animations>
</Style>
<Style Selector="Border.list-item.tree-row">
<Setter Property="Padding" Value="4,4,10,4" />
</Style>