revert tagsbox fixes
MODIFY
WalletWasabi.Fluent/Controls/TagsBox.axaml
WalletWasabi.Fluent/Controls/TagsBox.axaml
<Setter Property="MinHeight" Value="{DynamicResource TextControlThemeMinHeight}" />
<Setter Property="MinWidth" Value="{DynamicResource TextControlThemeMinWidth}" />
<Setter Property="Padding" Value="{DynamicResource TagsBoxBorderPadding}" />
- <Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Cursor" Value="IBeam" />
<Setter Property="Template">
<ControlTemplate>
- <DataValidationErrors VerticalContentAlignment="{TemplateBinding VerticalAlignment}">
+ <DataValidationErrors>
<Border x:Name="PART_Border" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Padding="{TemplateBinding Padding}">
+ <Panel>
+ <TextBlock Name="PART_Watermark"
+ Opacity="0.5"
+ Padding="15 0"
+ VerticalAlignment="Center"
+ Text="{TemplateBinding Watermark}" />
<ItemsPresenter Name="PART_ItemsPresenter"
Focusable="False"
Items="{TemplateBinding Items}">
<ItemsPresenter.ItemsPanel>
<ItemsPanelTemplate>
- <c:ConcatenatingWrapPanel Focusable="False" VerticalAlignment="{TemplateBinding VerticalAlignment}">
+ <c:ConcatenatingWrapPanel Focusable="False">
<c:ConcatenatingWrapPanel.ConcatenatedChildren>
<AutoCompleteBox x:Name="PART_AutoCompleteBox"
+ Padding="15 10 15 8"
+ Margin="0"
MaxDropDownHeight="90"
MinimumPrefixLength="1"
Focusable="False"
IsTextCompletionEnabled="True"
- Watermark="{Binding #PART_Border.TemplatedParent.Watermark}"
Items="{Binding #PART_Border.TemplatedParent.Suggestions}" />
</c:ConcatenatingWrapPanel.ConcatenatedChildren>
</c:ConcatenatingWrapPanel>
</DataTemplate>
</ItemsPresenter.ItemTemplate>
</ItemsPresenter>
+ </Panel>
</Border>
</DataValidationErrors>
</ControlTemplate>
<Style Selector="c|TagsBox:readonly /template/ Border#PART_Border">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="Transparent" />
- <Setter Property="BorderThickness" Value="0" />
</Style>
<Style Selector="c|TagsBox:readonly AutoCompleteBox">
<Style Selector="c|TagsBox:readonly">
<Setter Property="Cursor" Value="Arrow" />
- <Setter Property="Padding" Value="0" />
</Style>
<Style Selector="c|TagsBox c|TagControl">
- <Setter Property="Margin" Value="0,0,4,0" />
- </Style>
-
- <Style Selector="c|TagsBox c|ConcatenatingWrapPanel:wrapped c|TagControl">
<Setter Property="Margin" Value="0,0,4,4" />
</Style>

revert tagsbox fixes