seperate remaining settings tabs.
ADD
WalletWasabi.Fluent/Views/Settings/BitcoinSettingsView.xaml
+<UserControl xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:DataType="settings:SettingsPageViewModel"
+ x:Class="WalletWasabi.Fluent.Views.Settings.BitCoinSettingsView">
+ <StackPanel Spacing="20" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">
+ <StackPanel.Styles>
+ <Style Selector="Slider">
+ <Setter Property="IsSnapToTickEnabled" Value="True" />
+ <Setter Property="TickFrequency" Value="1" />
+ </Style>
+ </StackPanel.Styles>
+
+ <StackPanel Orientation="Vertical" Spacing="5">
+ <StackPanel Margin="0 10" Spacing="5">
+ <TextBlock Text="Network" />
+ <ComboBox Items="{Binding Networks}" SelectedItem="{Binding Network}">
+ <!--<ComboBox.ItemTemplate>
+ <DataTemplate>
+ <TextBlock Text="{Binding Converter={StaticResource NetworkStringConverter}}" />
+ </DataTemplate>
+ </ComboBox.ItemTemplate>-->
+ </ComboBox>
+ </StackPanel>
+ <Panel>
+ <StackPanel Orientation="Vertical" Spacing="5">
+ <TextBlock Classes="warningMessage" Text= "Work in progress..." />
+ <TextBlock Text="Use your own Bitcoin Core or Wasabi's built-in Bitcoin Knots." />
+ <TextBlock Text="Expect high CPU, network usage and 300+ GB disk space requirement." />
+ <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5">
+ <ToggleSwitch IsChecked="{Binding StartLocalBitcoinCoreOnStartup}" Margin="0 0 10 0" />
+ <TextBlock VerticalAlignment="Center" Text= "Run Bitcoin Knots at Wasabi's startup." />
+ </StackPanel>
+ <StackPanel Margin="0 10" Spacing="5" IsVisible="{Binding StartLocalBitcoinCoreOnStartup}">
+ <TextBlock Text="Bitcoin Core or Bitcoin Knots Data Folder" />
+ <TextBox Text="{Binding LocalBitcoinCoreDataDir}" />
+ </StackPanel>
+ <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5" IsVisible="{Binding StartLocalBitcoinCoreOnStartup}">
+ <ToggleSwitch IsChecked="{Binding StopLocalBitcoinCoreOnShutdown}" Margin="0 0 10 0" />
+ <TextBlock VerticalAlignment="Center" Text= "Stop Bitcoin Knots when Wasabi is shut down." />
+ </StackPanel>
+ </StackPanel>
+ </Panel>
+ <Panel IsVisible="{Binding !StartLocalBitcoinCoreOnStartup}">
+ <StackPanel Orientation="Vertical" Spacing="5">
+ <TextBlock Text="Set Wasabi to download blocks from a full node you control." />
+ <StackPanel Margin="0 10" Spacing="5">
+ <TextBlock Text="Bitcoin P2P Endpoint" />
+ <TextBox Text="{Binding BitcoinP2pEndPoint}" />
+ </StackPanel>
+ </StackPanel>
+ </Panel>
+ </StackPanel>
+
+ </StackPanel>
+</UserControl>
\ No newline at end of file

ADD
WalletWasabi.Fluent/Views/Settings/BitcoinSettingsView.xaml.cs
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.Settings
+{
+ public class BitCoinSettingsView : UserControl
+ {
+ public BitCoinSettingsView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+ }
+}

ADD
WalletWasabi.Fluent/Views/Settings/NetworkSettingsView.xaml
+<UserControl xmlns="https://github.com/avaloniaui"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:settings="clr-namespace:WalletWasabi.Fluent.ViewModels.Settings"
+ mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
+ x:DataType="settings:SettingsPageViewModel"
+ x:Class="WalletWasabi.Fluent.Views.Settings.NetworkSettingsView">
+ <StackPanel Spacing="20" MaxWidth="650" HorizontalAlignment="Left" Orientation="Vertical">
+ <StackPanel.Styles>
+ <Style Selector="Slider">
+ <Setter Property="IsSnapToTickEnabled" Value="True" />
+ <Setter Property="TickFrequency" Value="1" />
+ </Style>
+ </StackPanel.Styles>
+
+ <StackPanel Orientation="Vertical" Spacing="5">
+ <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5">
+ <ToggleSwitch IsChecked="{Binding UseTor}" Margin="0 0 10 0" />
+ <TextBlock VerticalAlignment="Center" Text= "Tor can be turned off for debugging." />
+ </StackPanel>
+ <StackPanel Margin="0 10" Spacing="5" IsVisible="{Binding UseTor}">
+ <TextBlock Text="Tor SOCKS5 Endpoint" />
+ <TextBox Text="{Binding TorSocks5EndPoint}" />
+ </StackPanel>
+ <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5" IsVisible="{Binding UseTor}">
+ <ToggleSwitch IsChecked="{Binding TerminateTorOnExit}" Margin="0 0 10 0" />
+ <TextBlock VerticalAlignment="Center" Text= "Terminate Tor process on exit." />
+ </StackPanel>
+ </StackPanel>
+ </StackPanel>
+</UserControl>
\ No newline at end of file

ADD
WalletWasabi.Fluent/Views/Settings/NetworkSettingsView.xaml.cs
+using Avalonia.Controls;
+using Avalonia.Markup.Xaml;
+
+namespace WalletWasabi.Fluent.Views.Settings
+{
+ public class NetworkSettingsView : UserControl
+ {
+ public NetworkSettingsView()
+ {
+ InitializeComponent();
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+ }
+}

MODIFY
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
WalletWasabi.Fluent/Views/Settings/SettingsPageView.xaml
</TabItem>
<TabItem Header="Network">
- <StackPanel Orientation="Vertical" Spacing="5">
- <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5">
- <ToggleSwitch IsChecked="{Binding UseTor}" Margin="0 0 10 0" />
- <TextBlock VerticalAlignment="Center" Text= "Tor can be turned off for debugging." />
- </StackPanel>
- <StackPanel Margin="0 10" Spacing="5" IsVisible="{Binding UseTor}">
- <TextBlock Text="Tor SOCKS5 Endpoint" />
- <TextBox Text="{Binding TorSocks5EndPoint}" />
- </StackPanel>
- <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5" IsVisible="{Binding UseTor}">
- <ToggleSwitch IsChecked="{Binding TerminateTorOnExit}" Margin="0 0 10 0" />
- <TextBlock VerticalAlignment="Center" Text= "Terminate Tor process on exit." />
- </StackPanel>
- </StackPanel>
+ <v:NetworkSettingsView />
</TabItem>
<TabItem Header="Bitcoin">
- <StackPanel Orientation="Vertical" Spacing="5">
- <StackPanel Margin="0 10" Spacing="5">
- <TextBlock Text="Network" />
- <ComboBox Items="{Binding Networks}" SelectedItem="{Binding Network}">
- <!--<ComboBox.ItemTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding Converter={StaticResource NetworkStringConverter}}" />
- </DataTemplate>
- </ComboBox.ItemTemplate>-->
- </ComboBox>
- </StackPanel>
- <Panel>
- <StackPanel Orientation="Vertical" Spacing="5">
- <TextBlock Classes="warningMessage" Text= "Work in progress..." />
- <TextBlock Text="Use your own Bitcoin Core or Wasabi's built-in Bitcoin Knots." />
- <TextBlock Text="Expect high CPU, network usage and 300+ GB disk space requirement." />
- <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5">
- <ToggleSwitch IsChecked="{Binding StartLocalBitcoinCoreOnStartup}" Margin="0 0 10 0" />
- <TextBlock VerticalAlignment="Center" Text= "Run Bitcoin Knots at Wasabi's startup." />
- </StackPanel>
- <StackPanel Margin="0 10" Spacing="5" IsVisible="{Binding StartLocalBitcoinCoreOnStartup}">
- <TextBlock Text="Bitcoin Core or Bitcoin Knots Data Folder" />
- <TextBox Text="{Binding LocalBitcoinCoreDataDir}" />
- </StackPanel>
- <StackPanel Margin="0 10" Orientation="Horizontal" Spacing="5" IsVisible="{Binding StartLocalBitcoinCoreOnStartup}">
- <ToggleSwitch IsChecked="{Binding StopLocalBitcoinCoreOnShutdown}" Margin="0 0 10 0" />
- <TextBlock VerticalAlignment="Center" Text= "Stop Bitcoin Knots when Wasabi is shut down." />
- </StackPanel>
- </StackPanel>
- </Panel>
- <Panel IsVisible="{Binding !StartLocalBitcoinCoreOnStartup}">
- <StackPanel Orientation="Vertical" Spacing="5">
- <TextBlock Text="Set Wasabi to download blocks from a full node you control." />
- <StackPanel Margin="0 10" Spacing="5">
- <TextBlock Text="Bitcoin P2P Endpoint" />
- <TextBox Text="{Binding BitcoinP2pEndPoint}" />
- </StackPanel>
- </StackPanel>
- </Panel>
- </StackPanel>
+ <v:BitCoinSettingsView />
</TabItem>
</TabControl>
</c:ContentArea>

seperate remaining settings tabs.