fix scrollbar visibility when items are hidden
ADD
WalletWasabi.Fluent/Converters/OpacityToBoolConverter.cs
+using Avalonia.Data.Converters;
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Text;
+
+namespace WalletWasabi.Fluent.Converters
+{
+ public class OpacityToBoolConverter : IValueConverter
+ {
+ public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ return ((double)value) > 0;
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}

MODIFY
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
WalletWasabi.Fluent/Views/AddWalletPageView.axaml
x:Class="WalletWasabi.Fluent.Views.AddWalletPageView">
<UserControl.Resources>
<converters:BoolToOpacityConverter x:Key="BoolToOpacityConverter" />
+ <converters:OpacityToBoolConverter x:Key="OpacityToBoolConverter" />
</UserControl.Resources>
<c:ContentArea Title="Add Wallet" Caption="Type in your wallets name and select an option:">
<Setter Property="Padding" Value="0" />
<Setter Property="IsEnabled" Value="{Binding OptionsEnabled}" />
<Setter Property="Opacity" Value="{Binding OptionsEnabled, Converter={StaticResource BoolToOpacityConverter}}" />
+ <Setter Property="IsVisible" Value="{Binding $self.Opacity, Converter={StaticResource OpacityToBoolConverter}}}" />
</Style>
<Style Selector="Button.option:disabled /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="{DynamicResource OptionButtonBackground}" />

fix scrollbar visibility when items are hidden