Take Dan's fix. Closes
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewerView.xaml
xmlns:local="clr-namespace:WalletWasabi.Gui.Controls.WalletExplorer;assembly=WalletWasabi.Gui"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450">
<controls:GroupBox Title="{Binding Title}" TextBlock.FontSize="30" Padding="20" Margin="10">
+ <DockPanel LastChildFill="True">
+ <Grid Classes="content" DockPanel.Dock="Bottom">
+ <Button HorizontalAlignment="Right" Command="{Binding ExportBinaryPsbtCommand}" Content="Export Binary PSBT" />
+ </Grid>
<Grid Classes="content" ScrollViewer.VerticalScrollBarVisibility="Auto">
<Grid.RowDefinitions>
<RowDefinition Height="1*" />
<RowDefinition Height="1*" />
<RowDefinition Height="1*" />
- <RowDefinition Height="0.1*" />
</Grid.RowDefinitions>
- <DockPanel Grid.Row="0" LastChildFill="True" Margin="0 8">
- <controls:MultiTextBox Text="{Binding PsbtJsonText}" CopyOnClick="True" IsSelectable="False" IsReadOnly="True" TextWrapping="Wrap" AcceptsReturn="True" />
- </DockPanel>
-
- <DockPanel Grid.Row="1" LastChildFill="True" Margin="0 8">
- <TextBlock DockPanel.Dock="Top" Text="Transaction Hex" FontWeight="Bold" Margin="0 0 0 8" />
- <controls:MultiTextBox Text="{Binding TransactionHexText}" CopyOnClick="True" IsSelectable="False" IsReadOnly="True" TextWrapping="Wrap" AcceptsReturn="True" />
+ <DockPanel LastChildFill="True" Grid.Row="0" Margin="0 8 0 0">
+ <TextBlock DockPanel.Dock="Top" Text="PSBT Json" FontWeight="Bold" />
+ <controls:MultiTextBox Margin="0 8 0 0" Text="{Binding PsbtJsonText}" CopyOnClick="True" IsSelectable="False" IsReadOnly="True" TextWrapping="Wrap" AcceptsReturn="True" />
</DockPanel>
- <DockPanel Grid.Row="2" LastChildFill="True" Margin="0 8">
- <TextBlock DockPanel.Dock="Top" Text="PSBT Base64 String" FontWeight="Bold" Margin="0 0 0 8" />
- <controls:MultiTextBox Text="{Binding PsbtBase64Text}" CopyOnClick="True" IsSelectable="False" IsReadOnly="True" TextWrapping="Wrap" AcceptsReturn="True" />
+ <DockPanel LastChildFill="True" Grid.Row="1" Margin="0 8 0 0">
+ <TextBlock DockPanel.Dock="Top" Text="Transaction Hex" FontWeight="Bold" />
+ <controls:MultiTextBox Margin="0 8 0 0" Text="{Binding TransactionHexText}" CopyOnClick="True" IsSelectable="False" IsReadOnly="True" TextWrapping="Wrap" AcceptsReturn="True" />
</DockPanel>
- <DockPanel Grid.Row="3" DockPanel.Dock="Bottom" LastChildFill="True" Margin="0 8">
- <Button DockPanel.Dock="Right" Command="{Binding ExportBinaryPsbtCommand}" Content="Export Binary PSBT" />
+ <DockPanel LastChildFill="True" Grid.Row="2" Margin="0 8 0 0">
+ <TextBlock DockPanel.Dock="Top" Text="PSBT Base64 String" FontWeight="Bold" />
+ <controls:MultiTextBox Margin="0 8" VerticalAlignment="Stretch" Text="{Binding PsbtBase64Text}" CopyOnClick="True" IsSelectable="False" IsReadOnly="True" TextWrapping="Wrap" AcceptsReturn="True" />
</DockPanel>
</Grid>
+ </DockPanel>
</controls:GroupBox>
</UserControl>

Take Dan's fix. Closes https://github.com/nopara73/WalletWasabi/pull/18