Tweaks to groupbox control.
MODIFY
WalletWasabi.Gui/Controls/GroupBox.cs
WalletWasabi.Gui/Controls/GroupBox.cs
@@ -43,6 +43,7 @@ namespace WalletWasabi.Gui.Controls
protected override Size ArrangeOverride(Size finalSize)
{
_border.Margin = new Thickness(0, -(_titlePresenter.DesiredSize.Height / 3), 0, 0);
+ _border.Padding = new Thickness(0, (_titlePresenter.DesiredSize.Height / 3), 0, 0);
return base.ArrangeOverride(finalSize);
}

MODIFY
WalletWasabi.Gui/Controls/GroupBox.xaml
WalletWasabi.Gui/Controls/GroupBox.xaml
xmlns:local="clr-namespace:WalletWasabi.Gui.Controls;assembly=WalletWasabi.Gui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="local|GroupBox">
- <Setter Property="Padding" Value="10" />
<Setter Property="Margin" Value="10" />
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
<Setter Property="Template">
Background="{TemplateBinding Background}"
Content="{TemplateBinding Title}"
HorizontalAlignment="Left"
- ZIndex="1"
- Padding="4 0" Margin="10 0" />
- <Border Name="PART_Border" BorderThickness="1" BorderBrush="{DynamicResource ThemeBorderLightBrush}">
+ ZIndex="1" />
+ <Border Name="PART_Border" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{DynamicResource ThemeBorderLightBrush}">
<ContentPresenter Name="PART_ContentPresenter"
Background="{TemplateBinding Background}"
ContentTemplate="{TemplateBinding ContentTemplate}"

Tweaks to groupbox control.