Use LabelsListBox for ReceiveAddressesView
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Receive/AddressViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Receive/AddressViewModel.cs
@@ -18,8 +18,8 @@ public partial class AddressViewModel : ViewModelBase
{
_address = model.GetP2wpkhAddress(network).ToString();
- Label = model.Label.Take(1).ToList();
- FilteredLabel = model.Label.Skip(1).ToList();
+ Label = model.Label.ToList();
+ FilteredLabel = model.Label.ToList();
CopyAddressCommand =
ReactiveCommand.CreateFromTask(async () =>

MODIFY
WalletWasabi.Fluent/Views/Wallets/Receive/Columns/LabelsColumnView.axaml
WalletWasabi.Fluent/Views/Wallets/Receive/Columns/LabelsColumnView.axaml
<c:PrivacyContentControl PrivacyReplacementMode="Text" NumberOfPrivacyChars="15"
VerticalAlignment="Center">
<DockPanel LastChildFill="False">
- <Button Classes="labelFlyout"
- DockPanel.Dock="Left"
- HorizontalAlignment="Stretch"
- VerticalAlignment="Center"
- IsVisible="{Binding !!Label.Count}"
- IsHitTestVisible="False"
- Margin="0 0 4 0">
- <TextBlock Text="{Binding Label[0], FallbackValue=''}"
- MaxWidth="120"
- TextTrimming="CharacterEllipsis" />
- </Button>
- <Button Classes="labelFlyout"
- DockPanel.Dock="Left"
- IsVisible="{Binding !!FilteredLabel.Count}"
- Content="..."
- Margin="0 0 0 0">
- <Button.Flyout>
- <Flyout Placement="BottomEdgeAlignedLeft" ShowMode="TransientWithDismissOnPointerMoveAway">
- <c:TagsBox IsReadOnly="True"
- Items="{Binding FilteredLabel}" />
- </Flyout>
- </Button.Flyout>
- <ToolTip.Tip>
- <Panel>
- <c:TagsBox IsReadOnly="True"
- Margin="4,6,0,0"
- Items="{Binding FilteredLabel}" />
- </Panel>
- </ToolTip.Tip>
- </Button>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"
- Margin="-5 0 0 0" Spacing="5" Orientation="Horizontal"
+ Margin="0 0 0 0" Spacing="5" Orientation="Horizontal"
x:DataType="receive:AddressViewModel"
DockPanel.Dock="Right">
<Button Classes="plain addressActionButton" ToolTip.Tip="Edit"
<PathIcon Data="{StaticResource edit_regular}" Classes="addressActionIcon" />
</Button>
</StackPanel>
+ <c:LabelsListBox Items="{Binding Label}"
+ HorizontalAlignment="Left"
+ VerticalAlignment="Center" />
</DockPanel>
</c:PrivacyContentControl>
</DockPanel>

Use LabelsListBox for ReceiveAddressesView