use compact dialog
MODIFY
WalletWasabi.Fluent/ViewModels/Dialogs/Authorization/HardwareWalletAuthDialogViewModel.cs
WalletWasabi.Fluent/ViewModels/Dialogs/Authorization/HardwareWalletAuthDialogViewModel.cs
@@ -9,7 +9,7 @@ using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels.Dialogs.Authorization
{
- [NavigationMetaData(Title = "Hardware Wallet", NavigationTarget = NavigationTarget.DialogScreen)]
+ [NavigationMetaData(Title = "Authorise with Hardware Wallet", NavigationTarget = NavigationTarget.CompactDialogScreen)]
public partial class HardwareWalletAuthDialogViewModel : AuthorizationDialogBase
{
private readonly Wallet _wallet;

MODIFY
WalletWasabi.Fluent/Views/Dialogs/Authorization/HardwareWalletAuthDialogView.axaml
WalletWasabi.Fluent/Views/Dialogs/Authorization/HardwareWalletAuthDialogView.axaml
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:c="using:WalletWasabi.Fluent.Controls"
- xmlns:dialog="using:WalletWasabi.Fluent.ViewModels.Dialogs"
xmlns:authorization="clr-namespace:WalletWasabi.Fluent.ViewModels.Dialogs.Authorization"
xmlns:conv="clr-namespace:WalletWasabi.Fluent.Converters"
mc:Ignorable="d" d:DesignWidth="428" d:DesignHeight="371"
<KeyBinding Gesture="Enter" Command="{Binding NextCommand}" />
</UserControl.KeyBindings>
<c:ContentArea Title="{Binding Title}"
+ Caption="Connect your hardware wallet, then press Continue to sign your transaction."
EnableBack="True"
EnableCancel="True" CancelContent="Cancel"
EnableNext="True" NextContent="Continue"
IsBusy="{Binding IsBusy}"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
- <DockPanel LastChildFill="True" HorizontalAlignment="Center" VerticalAlignment="Center">
-
- <TextBlock Text="Connect your hardware wallet, then press Continue to sign your transaction."
- DockPanel.Dock="Bottom"
- Margin="0 40 0 0"
- HorizontalAlignment="Center"
- TextWrapping="Wrap"
- TextAlignment="Center"/>
-
- <Viewbox MaxHeight="200">
+ <Viewbox Height="150">
<Image>
<Image.Source>
<MultiBinding Converter="{x:Static conv:WalletIconConverter.TypesToImage}">
</Image.Source>
</Image>
</Viewbox>
- </DockPanel>
</c:ContentArea>
</UserControl>

use compact dialog