Use DockPanel and set spacing using margins
MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
ScrollViewer.VerticalScrollBarVisibility="Auto">
<DockPanel>
- <StackPanel DockPanel.Dock="Top" Spacing="10">
- <StackPanel.Styles>
+ <DockPanel.Styles>
<Style Selector="DockPanel > Label">
<Setter Property="MinWidth" Value="80" />
</Style>
- </StackPanel.Styles>
- <DockPanel>
+ </DockPanel.Styles>
+
+ <DockPanel DockPanel.Dock="Top" Margin="0,0,0,10">
<Label DockPanel.Dock="Left" Content="_To:" Target="toTb" />
<TextBox x:Name="toTb" MaxLength="250" Text="{Binding To}"
Watermark="(e.g. Bitcoin address or PayJoin URL)">
</TextBox>
</DockPanel>
- <DockPanel>
+ <DockPanel DockPanel.Dock="Top" Margin="0,0,0,10">
<Label DockPanel.Dock="Left" Content="_Amount:" Target="amountTb" />
<DockPanel>
<Image Width="120" Source="avares://WalletWasabi.Fluent/Assets/TechnologyLogos/payjoin.png" DockPanel.Dock="Right" IsVisible="{Binding IsPayJoin}" Margin="0 8 8 0" VerticalAlignment="Top"/>
</DockPanel>
</DockPanel>
- <DockPanel>
+ <DockPanel DockPanel.Dock="Top" Margin="0,0,0,10">
<Label DockPanel.Dock="Left" Content="_Labels:" Target="LabelTagBox" />
<c:TagsBox x:Name="LabelTagBox"
Watermark="{StaticResource LabelsWatermarkText}"
Items="{Binding Labels}"
Suggestions="{Binding PriorLabels}" />
</DockPanel>
+
<Separator DockPanel.Dock="Top"
HorizontalAlignment="Stretch"
- Margin="-200 20 0 0" />
+ Margin="-200 20 0 10" />
<DockPanel>
<Label Margin="0 10 0 20" Content="_Priority:" Target="CursorValue2" />
</DockPanel>
</DockPanel>
- </StackPanel>
+
</DockPanel>

Use DockPanel and set spacing using margins