Reduce QR Code size and improve address list header
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml
<TextBlock Text="Label:" />
<TextBlock Text="Address:" Grid.Column="1" Margin="20 0 0 0" />
</Grid>
- </Grid>
- <ListBox Items="{Binding Addresses}" SelectedItem="{Binding SelectedAddress, Mode=TwoWay}">
+ <ListBox Grid.Row="2" Items="{Binding Addresses}" SelectedItem="{Binding SelectedAddress, Mode=TwoWay}">
<ListBox.ItemTemplate>
<DataTemplate>
+ <Expander ExpandDirection="Down">
+ <Expander.Header>
<Grid ColumnDefinitions="300, *, 100">
<Grid.Styles>
<Style Selector="TextBlock">
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
</Grid.Styles>
+ <TextBlock Text="{Binding Address}" Grid.Column="1" />
<TextBlock Text="{Binding Label}" />
- <TextBlock Text="{Binding Address}" Grid.Column="1" Margin="20 0 0 0" />
- <Button Content="QR Code ..." Command="{Binding QRCodeCommand}" Grid.Column="2" Margin="0 2" />
</Grid>
+ </Expander.Header>
+ <StackPanel Background="#FFFEFEFE">
+ <controls:QrCode Matrix="{Binding QrCode}" Height="200" Margin="10 10 10 20" HorizontalAlignment="Center" />
+ </StackPanel>
+ </Expander>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
+ </Grid>
</DockPanel>
</Grid>
</controls:GroupBox>

Reduce QR Code size and improve address list header