Skip to content

Commit

Permalink
don't userTagsBox
Browse files Browse the repository at this point in the history
  • Loading branch information
soosr authored and wieslawsoltes committed Apr 30, 2024
1 parent ad6e7f6 commit 6941e58
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions WalletWasabi.Fluent/Controls/LabelsItemsPresenter.axaml
Expand Up @@ -66,9 +66,24 @@
BorderBrush="{Binding BorderBrush, RelativeSource={RelativeSource AncestorType={x:Type LabelsItemsPresenter}}}">
<ToolTip.Tip>
<Panel>
<TagsBox IsReadOnly="True"
Margin="4,6,0,0"
Items="{Binding}" />
<ItemsControl ItemsSource="{Binding}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<TagControl Content="{Binding}">
<TagControl.Styles>
<Style Selector="TagControl /template/ Panel#PART_TagPanel">
<Setter Property="Margin" Value="3" />
</Style>
</TagControl.Styles>
</TagControl>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Panel>
</ToolTip.Tip>
<TextBlock Text="..."
Expand Down

0 comments on commit 6941e58

Please sign in to comment.