Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Themes/WpfUiCustom.xaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml">
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
xmlns:helpers="clr-namespace:PrettyScreenSHOT.Helpers;assembly=PrettyScreenSHOT">

<!--
Custom WPF UI Styles for PrettyScreenSHOT
Expand Down Expand Up @@ -63,17 +64,17 @@
<Setter Property="Margin" Value="0,0,0,8"/>
</Style>

<!-- StackPanel with consistent spacing -->
<!-- StackPanel with consistent spacing using Attached Property -->
<Style x:Key="StandardSpacing" TargetType="StackPanel">
<Setter Property="Spacing" Value="12"/>
<Setter Property="helpers:StackPanelHelper.Spacing" Value="12"/>
</Style>

<Style x:Key="CompactSpacing" TargetType="StackPanel">
<Setter Property="Spacing" Value="8"/>
<Setter Property="helpers:StackPanelHelper.Spacing" Value="8"/>
</Style>

<Style x:Key="WideSpacing" TargetType="StackPanel">
<Setter Property="Spacing" Value="16"/>
<Setter Property="helpers:StackPanelHelper.Spacing" Value="16"/>
</Style>

<!-- Section separator -->
Expand Down
Loading