Skip to content

Conversation

@Co0ob1iee
Copy link
Owner

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.

## 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.
@Co0ob1iee Co0ob1iee merged commit 80a90c0 into main Nov 16, 2025
3 of 6 checks passed
@Co0ob1iee Co0ob1iee deleted the claude/cleanup-logs-project-01CgeLKK4Nw2cK3rDJdLF88m branch November 16, 2025 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants