From 632097dc02e58c9cd5bd657499bc5d297cea56d4 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 16 Nov 2025 05:47:33 +0000 Subject: [PATCH] fix: Update StackPanel Spacing styles in WpfUiCustom.xaml theme ## Problem The WpfUiCustom.xaml theme file contained 3 StackPanel styles that used Property="Spacing", which doesn't exist in WPF StackPanel: - StandardSpacing (Spacing=12) - CompactSpacing (Spacing=8) - WideSpacing (Spacing=16) These styles were causing XAML build errors at lines 68, 72, and 76. ## Solution 1. Added xmlns:helpers namespace to ResourceDictionary with assembly reference 2. Updated all 3 style definitions to use helpers:StackPanelHelper.Spacing attached property instead of Property="Spacing" ## Files Changed - Themes/WpfUiCustom.xaml ## Result All StackPanel spacing styles now use the WPF-compatible StackPanelHelper attached property, maintaining the same spacing values and functionality. --- Themes/WpfUiCustom.xaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Themes/WpfUiCustom.xaml b/Themes/WpfUiCustom.xaml index 7fec838..c804aa1 100644 --- a/Themes/WpfUiCustom.xaml +++ b/Themes/WpfUiCustom.xaml @@ -1,6 +1,7 @@ + xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml" + xmlns:helpers="clr-namespace:PrettyScreenSHOT.Helpers;assembly=PrettyScreenSHOT"> +