Better visibility of coins in coinlist (selection)
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/CoinListView.xaml
<converters:CoinStatusColorConverter x:Key="CoinStatusColorConverter" />
<converters:CoinStatusBorderBrushConverter x:Key="CoinStatusBorderBrushConverter" />
<converters:CoinStatusForegroundConverter x:Key="CoinStatusForegroundConverter" />
+ <converters:CoinItemExpanderColorConverter x:Key="CoinItemExpanderColorConverter" />
</UserControl.Resources>
<UserControl.Styles>
<Style Selector="TextBlock">
<Style Selector="TextBox.Transaparent">
<Setter Property="Background" Value="Transparent" />
</Style>
-<!-- <Style Selector="ListBoxItem:selected /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
- </Style>
- <Style Selector="ListBoxItem:pointerover /template/ ContentPresenter">
- <Setter Property="Background" Value="Transparent" />
- </Style>
- <Style Selector="ListBoxItem:selected:focus /template/ ContentPresenter">
- <Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
- </Style>-->
+
</UserControl.Styles>
<DockPanel LastChildFill="True">
<Grid ColumnDefinitions="30,30,180,120,100,Auto" Margin="30 0" DockPanel.Dock="Top">
- <TextBlock Text="" />
+ <TextBlock Text="" Width="0" />
<TextBlock Text="" Grid.Column="1" />
<TextBlock Text="CoinJoin Status" Grid.Column="2" Margin="10 0 0 0" />
<TextBlock Text="Amount (BTC)" Grid.Column="3" Margin="10 0 0 0" />
<ListBox.ItemTemplate>
<DataTemplate>
<Grid>
- <Expander ExpandDirection="Down">
- <StackPanel Background="Transparent">
+
+ <Expander Name="coinExpander" ExpandDirection="Down" Classes="coloredExpander" Background="{Binding ElementName=coinExpander, Path=IsExpanded, Converter={StaticResource CoinItemExpanderColorConverter}}">
+
+ <StackPanel>
<Grid HorizontalAlignment="Left" ColumnDefinitions="150, *" RowDefinitions="Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto,Auto" MaxWidth="800">
<TextBlock Text="Transaction Id:" Grid.Row="0" />
<controls:ExtendedTextBox Classes="selectableTextBlock Transaparent" Text="{Binding TransactionId}" Background="Transparent" Grid.Column="1" Grid.Row="0" />
</Expander>
<Grid ColumnDefinitions="30,30,180,113,100,Auto" Margin="30 0 0 0" VerticalAlignment="Top">
- <CheckBox HorizontalContentAlignment="Left" IsChecked="{Binding IsSelected}" />
+ <CheckBox HorizontalContentAlignment="Left" IsChecked="{Binding IsSelected}" Background="{DynamicResource ThemeBackgroundBrush}" />
<Border Background="Transparent" IsVisible="{Binding Confirmed}" Grid.Column="1" ToolTip.Tip="Confirmed">
<Path HorizontalAlignment="Left" Data="F1 M 23.7501,33.25L 34.8334,44.3333L 52.2499,22.1668L 56.9999,26.9168L 34.8334,53.8333L 19.0001,38L 23.7501,33.25 Z" Fill="#22B14C" Height="16" Width="16" Stretch="Fill" />
</Border>
ToolTip.Tip="{Binding ToolTip}">
<DrawingPresenter Drawing="{Binding Icon}" Margin="0 0 25 0" />
</Panel>
-
<controls:ExtendedTextBox Classes="selectableTextBlock" Background="Transparent" Grid.Column="5" Text="{Binding History}" />
-
<TextBlock Text="" Grid.Column="6" />
</Grid>
</Grid>

Better visibility of coins in coinlist (selection)