fix scrolling on add wallet page.
MODIFY
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
x:DataType="vm:HomePageViewModel"
x:Class="WalletWasabi.Fluent.Views.AddWalletPageView">
<c:ContentArea Title="Add Wallet" Caption="Type in your wallets name and select an option:">
- <StackPanel Spacing="40">
- <StackPanel>
+ <DockPanel>
+ <StackPanel DockPanel.Dock="Top" Margin="0 0 0 40">
<Label Content="Wallet _Name:" Target="walletNameTb" />
<TextBox x:Name="walletNameTb" Text="{Binding WalletName}" Watermark="(e.g. My Wallet)">
<i:Interaction.Behaviors>
</i:Interaction.Behaviors>
</TextBox>
</StackPanel>
- <StackPanel Spacing="10">
+ <ScrollViewer>
+ <StackPanel Spacing="10" Margin="0 0 0 40">
<StackPanel.Styles>
<Style Selector="Button">
<Setter Property="HorizontalAlignment" Value="Stretch" />
</Button>
<Button Classes="option">
-
<StackPanel Orientation="Horizontal">
- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource recover_arrow_right_regular}"
+ <PathIcon DockPanel.Dock="Left" Margin="20"
+ Data="{StaticResource recover_arrow_right_regular}"
Width="16" VerticalAlignment="Center" />
<TextBlock Text="Recover a wallet" VerticalAlignment="Center" />
</StackPanel>
-
</Button>
<Button Classes="option">
<StackPanel Orientation="Horizontal">
- <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource import_regular}" Width="16"
+ <PathIcon DockPanel.Dock="Left" Margin="20" Data="{StaticResource import_regular}"
+ Width="16"
VerticalAlignment="Center" />
<TextBlock Text="Import a wallet" VerticalAlignment="Center" />
</StackPanel>
</StackPanel>
</Button>
</StackPanel>
- </StackPanel>
+ </ScrollViewer>
+ </DockPanel>
</c:ContentArea>
</UserControl>
\ No newline at end of file

fix scrolling on add wallet page.