[Launcher] Fluent UX fixes for the results list (#2427)

* Fixed right margin

* Fixed issue where the background of the gridview would light up on pointerover.

* Fixed issue where application title/path run through command buttons. Centrally aligned image/icon.

* Updated the shadow so it looks more like a UWP ThemeShadow.
This commit is contained in:
Niels Laute
2020-04-28 02:35:33 +02:00
committed by GitHub
parent a047ff2228
commit 371926b202
2 changed files with 42 additions and 11 deletions

View File

@@ -33,11 +33,11 @@
<Border
x:Name="SearchBoxBorder"
Grid.Row="0"
Margin="8"
Margin="24,24,24,8"
BorderThickness="4"
CornerRadius="4">
<Border.Effect>
<DropShadowEffect BlurRadius="12" Opacity="0.4" ShadowDepth="4" />
<DropShadowEffect BlurRadius="12" Opacity="0.4" ShadowDepth="0" />
</Border.Effect>
<xaml:WindowsXamlHost
InitialTypeName="PowerLauncher.UI.LauncherControl"
@@ -46,12 +46,12 @@
<Border
x:Name="ListBoxBorder"
Grid.Row="1"
Margin="8"
Margin="24,8,24,24"
BorderThickness="4"
CornerRadius="4"
Visibility="{Binding Results.Visbility}">
<Border.Effect>
<DropShadowEffect BlurRadius="12" Opacity="0.4" ShadowDepth="4" />
<DropShadowEffect BlurRadius="12" Opacity="0.4" ShadowDepth="0" />
</Border.Effect>
<xaml:WindowsXamlHost
InitialTypeName="PowerLauncher.UI.ResultList"