some view adjustment
MODIFY
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfilesViewModel.cs
WalletWasabi.Fluent/ViewModels/CoinJoinProfiles/CoinJoinProfilesViewModel.cs
using ReactiveUI;
using System.Collections.Generic;
using System.Reactive.Disposables;
+using System.Windows.Input;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Fluent.ViewModels.AddWallet;
using WalletWasabi.Fluent.ViewModels.Navigation;
@@ -27,10 +28,19 @@ public partial class CoinJoinProfilesViewModel : RoutableViewModel
};
_selectedProfile = privateProfile;
+
+ ManualSetupCommand = ReactiveCommand.Create(OnManualSetup);
}
+ public ICommand ManualSetupCommand { get; }
+
public List<CoinJoinProfileViewModel> Profiles { get; }
+ private void OnManualSetup()
+ {
+
+ }
+
private void OnNext(KeyManager keyManager)
{
var selected = SelectedProfile;

MODIFY
WalletWasabi.Fluent/Views/CoinJoinProfiles/CoinJoinProfileControl.axaml
WalletWasabi.Fluent/Views/CoinJoinProfiles/CoinJoinProfileControl.axaml
ClipToBounds="False"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.CoinJoinProfiles.CoinJoinProfileControl">
- <StackPanel Spacing="20">
+ <StackPanel Spacing="20" Width="110" Height="180">
<TextBlock Text="{Binding Title}" HorizontalAlignment="Center" />
<Viewbox HorizontalAlignment="Center" Height="70">
<Image Source="{Binding Icon}" />

MODIFY
WalletWasabi.Fluent/Views/CoinJoinProfiles/CoinJoinProfilesView.axaml
WalletWasabi.Fluent/Views/CoinJoinProfiles/CoinJoinProfilesView.axaml
EnableBack="{Binding EnableBack}"
NextContent="Continue" EnableNext="True"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
+ <DockPanel>
+ <Button Classes="h8 plain activeHyperLink" Margin="0 10 0 0"
+ DockPanel.Dock="Bottom"
+ Command="{Binding ManualSetupCommand}"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Bottom"
+ Content="Manual setup" />
+
<ListBox Items="{Binding Profiles}" SelectedItem="{Binding SelectedProfile}" Background="Transparent">
<ListBox.Styles>
<Style Selector="ListBoxItem">
<Setter Property="Background" Value="Transparent" />
</Style>
- <!--<Style
- Selector="ListBoxItem:selected /template/ ContentPresenter#PART_ContentPresenter, ListBoxItem:pointerover /template/ ContentPresenter#PART_ContentPresenter">
+ <Style Selector="ListBoxItem:selected /template/ ContentPresenter#PART_ContentPresenter, ListBoxItem:pointerover /template/ ContentPresenter#PART_ContentPresenter">
<Setter Property="Background" Value="Transparent" />
- </Style>-->
+ </Style>
+ <Style Selector="ListBoxItem:selected Border#PART_DecorationBorderHover, ListBoxItem:selected Border#PART_DecorationBorderUnselected">
+ <Setter Property="BorderBrush" Value="{DynamicResource SystemAccentColor}" />
+ </Style>
<Style Selector="ListBoxItem Border#PART_MainContentBorder">
- <Setter Property="Padding" Value="30,25,30,25" />
+ <Setter Property="Padding" Value="20,25,20,25" />
<Setter Property="CornerRadius" Value="4" />
- <Setter Property="MaxWidth" Value="250" />
- <Setter Property="MaxHeight" Value="300" />
</Style>
<Style Selector="ListBoxItem Border#PART_DecorationBorderUnselected">
<Setter Property="Padding" Value="15 25 15 25" />
<Setter Property="CornerRadius" Value="4" />
<Setter Property="Margin" Value="5" />
-
<Setter Property="BorderBrush" Value="#14FFFFFF" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Background" Value="{StaticResource OptimizePrivacyOptionSelectedColor}" />
<Setter Property="Padding" Value="15 25 15 25" />
<Setter Property="CornerRadius" Value="4" />
<Setter Property="Margin" Value="5" />
-
<Setter Property="BorderBrush" Value="#2AFFFFFF" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Background" Value="{StaticResource OptimizePrivacyOptionSelectedColor}" />
</ListBox.Styles>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
- <WrapPanel Orientation="Horizontal" HorizontalAlignment="Center" />
+ <WrapPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.DataTemplates>
</DataTemplate>
</ListBox.DataTemplates>
</ListBox>
+ </DockPanel>
+
</c:ContentArea>
</UserControl>

some view adjustment