remove title and showcoinjoin button.
MODIFY
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
WalletWasabi.Fluent/Views/Wallets/Home/History/HistoryTable.axaml
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:history="clr-namespace:WalletWasabi.Fluent.ViewModels.Wallets.Home.History"
xmlns:converters="clr-namespace:WalletWasabi.Fluent.Converters"
- xmlns:behaviors="using:WalletWasabi.Fluent.Behaviors"
- xmlns:i="using:Avalonia.Xaml.Interactivity"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:DataType="history:HistoryViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.Wallets.Home.History.HistoryTable">
- <DockPanel LastChildFill="True">
- <DockPanel DockPanel.Dock="Top" HorizontalAlignment="Stretch">
- <!-- Show CJ switch -->
- <StackPanel Orientation="Horizontal" Spacing="10" DockPanel.Dock="Right">
- <TextBlock Text="Show CoinJoin" VerticalAlignment="Center" Opacity="0.6"/>
- <ToggleSwitch IsChecked="{Binding ShowCoinJoin}" OnContent="{x:Null}" OffContent="{x:Null}" VerticalAlignment="Center"/>
- </StackPanel>
-
- <!-- Title -->
- <Label Content="Transaction History" DockPanel.Dock="Left" FontWeight="Bold" FontSize="16"/>
- </DockPanel>
-
<DataGrid Items="{Binding CollectionView}"
SelectedItem="{Binding SelectedItem}"
CanUserResizeColumns="False"
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Panel x:DataType="history:HistoryItemViewModel">
- <PathIcon ToolTip.Tip="Transaction" Data="{StaticResource normal_transaction}" Opacity="0.6" IsVisible="{Binding !IsCoinJoin}" />
- <PathIcon ToolTip.Tip="CoinJoin" Data="{StaticResource shield_regular}" Height="15" Opacity="0.6" IsVisible="{Binding IsCoinJoin}" />
+ <PathIcon ToolTip.Tip="Transaction" Data="{StaticResource normal_transaction}" Opacity="0.6"
+ IsVisible="{Binding !IsCoinJoin}" />
+ <PathIcon ToolTip.Tip="CoinJoin" Data="{StaticResource shield_regular}" Height="15" Opacity="0.6"
+ IsVisible="{Binding IsCoinJoin}" />
</Panel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
<!-- Incoming -->
<DataGridTemplateColumn Header="Incoming (BTC)"
- Width="Auto"
+ Width="*"
SortMemberPath="IncomingAmount">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
IsVisible="{Binding !!IncomingAmount}"
HorizontalAlignment="Right">
<PathIcon Data="{StaticResource arrow_down_right_regular}" Opacity="0.6" />
- <TextBlock Classes="monoSpaced" Text="{Binding IncomingAmount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
+ <TextBlock Classes="monoSpaced"
+ Text="{Binding IncomingAmount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
<!-- Outgoing -->
<DataGridTemplateColumn Header="Outgoing (BTC)"
- Width="Auto"
+ Width="*"
SortMemberPath="OutgoingAmount">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
IsVisible="{Binding !!OutgoingAmount}"
HorizontalAlignment="Right">
<PathIcon Data="{StaticResource arrow_up_right_regular}" Opacity="0.6" />
- <TextBlock Classes="monoSpaced" Text="{Binding OutgoingAmount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
+ <TextBlock Classes="monoSpaced"
+ Text="{Binding OutgoingAmount, Converter={x:Static converters:MoneyConverters.ToFormattedString}}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGrid.Columns>
</DataGrid>
- </DockPanel>
</UserControl>
\ No newline at end of file

remove title and showcoinjoin button.