Add label border style
MODIFY
WalletWasabi.Fluent/Controls/LabelControl.axaml
WalletWasabi.Fluent/Controls/LabelControl.axaml
<Setter Property="Margin" Value="0" />
<Setter Property="Template">
<ControlTemplate>
- <Border BorderBrush="Black" BorderThickness="1" CornerRadius="2">
+ <Border Name="PART_Border" Classes="label">
<TextBlock Text="{Binding}"
- Margin="5"
TextTrimming="CharacterEllipsis"
MaxWidth="120" />
</Border>
</Setter>
</Style>
+ <Style Selector="Border.label">
+ <Setter Property="Margin" Value="0" />
+ <Setter Property="Padding" Value="12,5,12,5" />
+ <Setter Property="VerticalAlignment" Value="Top" />
+ <Setter Property="HorizontalAlignment" Value="Left" />
+ <Setter Property="MinHeight" Value="0" />
+ <Setter Property="MinWidth" Value="38" />
+ <Setter Property="Cursor" Value="Hand" />
+ <Setter Property="BorderThickness" Value="1" />
+ <Setter Property="BorderBrush" Value="{DynamicResource TagsBoxBorderBrush}" />
+ <Setter Property="Background" Value="{DynamicResource InvisibleButtonBackgroundColor}" />
+ <Setter Property="CornerRadius" Value="2" />
+ </Style>
+
</Styles>

MODIFY
WalletWasabi.Fluent/Controls/LabelsListBox.axaml
WalletWasabi.Fluent/Controls/LabelsListBox.axaml
<ItemsPanelTemplate>
<controls:LabelsPanel Orientation="Horizontal" Spacing="5" HorizontalAlignment="Left">
<controls:LabelsPanel.EllipsisControl>
- <Border BorderBrush="Black" BorderThickness="1" CornerRadius="2">
- <TextBlock Text="..." Margin="5" />
+ <Border Classes="label">
+ <TextBlock Text="..." />
</Border>
</controls:LabelsPanel.EllipsisControl>
</controls:LabelsPanel>

Add label border style