Skip to content

Commit 80a90c0

Browse files
authored
Merge pull request #32 from Co0ob1iee/claude/cleanup-logs-project-01CgeLKK4Nw2cK3rDJdLF88m
fix: Update StackPanel Spacing styles in WpfUiCustom.xaml theme
2 parents c7d4801 + 632097d commit 80a90c0

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Themes/WpfUiCustom.xaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
22
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
3-
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
3+
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
4+
xmlns:helpers="clr-namespace:PrettyScreenSHOT.Helpers;assembly=PrettyScreenSHOT">
45

56
<!--
67
Custom WPF UI Styles for PrettyScreenSHOT
@@ -63,17 +64,17 @@
6364
<Setter Property="Margin" Value="0,0,0,8"/>
6465
</Style>
6566

66-
<!-- StackPanel with consistent spacing -->
67+
<!-- StackPanel with consistent spacing using Attached Property -->
6768
<Style x:Key="StandardSpacing" TargetType="StackPanel">
68-
<Setter Property="Spacing" Value="12"/>
69+
<Setter Property="helpers:StackPanelHelper.Spacing" Value="12"/>
6970
</Style>
7071

7172
<Style x:Key="CompactSpacing" TargetType="StackPanel">
72-
<Setter Property="Spacing" Value="8"/>
73+
<Setter Property="helpers:StackPanelHelper.Spacing" Value="8"/>
7374
</Style>
7475

7576
<Style x:Key="WideSpacing" TargetType="StackPanel">
76-
<Setter Property="Spacing" Value="16"/>
77+
<Setter Property="helpers:StackPanelHelper.Spacing" Value="16"/>
7778
</Style>
7879

7980
<!-- Section separator -->

0 commit comments

Comments
 (0)