Increase QR code size and border
MODIFY
WalletWasabi.Gui/Controls/QrCode.cs
WalletWasabi.Gui/Controls/QrCode.cs
@@ -46,8 +46,8 @@ namespace WalletWasabi.Gui.Controls
for (var j = 0; j < w; j++)
{
var cellValue = source[i, j];
- var color = cellValue ? Brushes.Black : Brushes.White;
var rect = new Rect(i * factor, j * factor, factor, factor);
+ var color = cellValue ? Brushes.Black : Brushes.White;
context.FillRectangle(color, rect);
}
}

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
<Grid>
<Expander Name="coinExpander" ExpandDirection="Down" IsExpanded="{Binding IsExpanded}" Classes="coloredExpander" Background="{Binding ElementName=coinExpander, Path=IsExpanded, Converter={StaticResource CoinItemExpanderColorConverter}}">
<StackPanel Orientation="Horizontal" Spacing="16" Margin="35 10 0 25">
- <Panel Height="180" Background="#FFFEFEFE">
- <controls:QrCode Matrix="{Binding QrCode}" HorizontalAlignment="Left" Margin="14" />
+ <Panel Height="220" Background="#FFFEFEFE">
+ <controls:QrCode Matrix="{Binding QrCode}" HorizontalAlignment="Left" Margin="20" />
</Panel>
<Grid ColumnDefinitions="140, *" RowDefinitions="22,22" Margin="6">
<TextBlock Text="Public key:" Grid.Row="0" Grid.Column="0" />

MODIFY
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
WalletWasabi.Gui/ViewModels/AddressViewModel.cs
@@ -32,7 +32,7 @@ namespace WalletWasabi.Gui.ViewModels
// TODO fix this performance issue this should only be generated when accessed.
Task.Run(() =>
{
- var encoder = new QrEncoder(ErrorCorrectionLevel.M);
+ var encoder = new QrEncoder();
encoder.TryEncode(Address, out var qrCode);
return qrCode.Matrix.InternalArray;

Increase QR code size and border