Title display working correctly

This commit is contained in:
Divyansh
2020-04-06 18:01:59 -07:00
parent dc0715dc2a
commit 9ddee84954
2 changed files with 2 additions and 2 deletions

View File

@@ -416,7 +416,7 @@
<Grid x:Name="ShadowReceiverGrid"/> <Grid x:Name="ShadowReceiverGrid"/>
<Grid x:Name="PowerBar" CornerRadius="4" Height="72" Background="{StaticResource BackdropAcrylicBrush}" Translation="0,0,16" Shadow="{StaticResource ShellBarShadow}" Margin="12" VerticalAlignment="Top" HorizontalAlignment="Center" MinWidth="240"> <Grid x:Name="PowerBar" CornerRadius="4" Height="72" Background="{StaticResource BackdropAcrylicBrush}" Translation="0,0,16" Shadow="{StaticResource ShellBarShadow}" Margin="12" VerticalAlignment="Top" HorizontalAlignment="Center" MinWidth="240">
<AutoSuggestBox x:Name="SearchBox" x:FieldModifier="public" PlaceholderText="Launch an app" FontSize="24" Style="{StaticResource CustomStyledAutoSuggestBox}" <AutoSuggestBox x:Name="SearchBox" x:FieldModifier="public" PlaceholderText="Launch an app" FontSize="24" Style="{StaticResource CustomStyledAutoSuggestBox}"
MinWidth="720" ItemsSource="{Binding Results.Results}" TextMemberPath="Title"> MinWidth="720" ItemsSource="{Binding Results.Results}">
<AutoSuggestBox.QueryIcon> <AutoSuggestBox.QueryIcon>
<SymbolIcon Symbol="Find"/> <SymbolIcon Symbol="Find"/>
</AutoSuggestBox.QueryIcon> </AutoSuggestBox.QueryIcon>

View File

@@ -64,7 +64,7 @@ namespace Wox.ViewModel
public override string ToString() public override string ToString()
{ {
return Result.ToString(); return Result.Title.ToString();
} }
} }
} }