feat: add group margin.

This commit is contained in:
rabbitism
2024-02-18 17:36:32 +08:00
parent 2bb4644c6d
commit e2f155a1dd
2 changed files with 14 additions and 1 deletions

View File

@@ -21,7 +21,7 @@
<ControlTheme x:Key="{x:Type u:FormGroup}" TargetType="u:FormGroup">
<Setter Property="Template">
<ControlTemplate TargetType="u:FormGroup">
<StackPanel>
<StackPanel Margin="0 28 0 0">
<ContentPresenter Content="{TemplateBinding Header}" FontWeight="Bold" FontSize="18" />
<Rectangle
Height="1"