Use InnerLeftContent
MODIFY
WalletWasabi.Fluent/Styles/TextBox.xaml
WalletWasabi.Fluent/Styles/TextBox.xaml
FontSize="{TemplateBinding FontSize}"
Text="{TemplateBinding Watermark}"
DockPanel.Dock="Top" />
- <ScrollViewer x:Name="PART_ScrollViewer"
- HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
+ <ScrollViewer HorizontalScrollBarVisibility="{TemplateBinding (ScrollViewer.HorizontalScrollBarVisibility)}"
VerticalScrollBarVisibility="{TemplateBinding (ScrollViewer.VerticalScrollBarVisibility)}">
<Panel>
<TextBlock Name="PART_Watermark"

MODIFY
WalletWasabi.Fluent/Views/SearchPageView.axaml
WalletWasabi.Fluent/Views/SearchPageView.axaml
<i:Interaction.Behaviors>
<behaviors:FocusOnAttachedBehavior />
</i:Interaction.Behaviors>
- <TextBox.Styles>
- <Style Selector="TextBox /template/ ScrollViewer#PART_ScrollViewer">
- <Setter Property="Margin" Value="30,0,0,0" />
- </Style>
- </TextBox.Styles>
- </TextBox>
- <Panel MaxWidth="400" Margin="8,0,0,0">
+ <TextBox.InnerLeftContent>
<PathIcon Data="{StaticResource search_regular}"
Width="20" Height="20"
Opacity="0.8"
VerticalAlignment="Top" HorizontalAlignment="Left"
- Margin="8,8,0,0" />
- </Panel>
+ Margin="16,8,0,0" />
+ </TextBox.InnerLeftContent>
+ </TextBox>
</Panel>
<ScrollViewer HorizontalScrollBarVisibility="Disabled">
<ItemsControl HorizontalAlignment="Left" Items="{Binding SearchItemsByCategory}">

Use InnerLeftContent