Fixed issue where resizing window causes the search watermark to go offside
This commit is contained in:
@@ -24,8 +24,12 @@
|
|||||||
MaxWidth="500"
|
MaxWidth="500"
|
||||||
CornerRadius="16"
|
CornerRadius="16"
|
||||||
Text="{Binding Value}"
|
Text="{Binding Value}"
|
||||||
TextBlock.TextAlignment="Center"
|
|
||||||
Watermark="Search">
|
Watermark="Search">
|
||||||
|
<AutoCompleteBox.Styles>
|
||||||
|
<Style Selector="AutoCompleteBox /template/ TextBox#PART_TextBox">
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||||
|
</Style>
|
||||||
|
</AutoCompleteBox.Styles>
|
||||||
<Interaction.Behaviors>
|
<Interaction.Behaviors>
|
||||||
<KeyBindingTriggerBehaviour Gesture="Enter">
|
<KeyBindingTriggerBehaviour Gesture="Enter">
|
||||||
<InvokeCommandAction Command="{Binding InvokeCommand}" />
|
<InvokeCommandAction Command="{Binding InvokeCommand}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user